Generating custom urls
getUrl is called, the task of generating that url is passed to an implementation of
The package contains a
DefaultUrlGenerator that can generate urls for a media library that is stored inside the public path. It can also generate URLs for S3.
If you are storing your media files in a private directory or are using a different filesystem, you can write your own
UrlGenerator. Your generator must implement to the