Closed abbasudo closed 6 months ago
Can you explain how $media->url
makes any significant improvement over $media->getUrl()
, aside from being syntactic sugar?
@frasmage attribute getter gives the ability to load and append url on relation calls.
Post::media()->get()->append('url');
hello! thanks for your powerful package. This PR will add a URL attribute getter. Personally, i need this attribute because I am developing restful api apps and should retrieve the full url to the client on each call.
thanks again for your greate work