Method | Description | |
---|---|---|
getUrl ( ) : string | Get the url for the profile of a media item. | |
setConversion ( |
||
setMedia ( |
||
setPathGenerator ( Spatie\MediaLibrary\PathGenerator\PathGenerator $pathGenerator ) : Spatie\MediaLibrary\UrlGenerator\UrlGenerator | Set the path generator class. |
public setConversion ( |
||
$conversion | ||
return | Spatie\MediaLibrary\UrlGenerator\UrlGenerator |
public setMedia ( |
||
$media | ||
return | Spatie\MediaLibrary\UrlGenerator\UrlGenerator |
public setPathGenerator ( Spatie\MediaLibrary\PathGenerator\PathGenerator $pathGenerator ) : Spatie\MediaLibrary\UrlGenerator\UrlGenerator | ||
$pathGenerator | Spatie\MediaLibrary\PathGenerator\PathGenerator | |
return | Spatie\MediaLibrary\UrlGenerator\UrlGenerator |