Метод | Описание | |
---|---|---|
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 | ||
Результат | Spatie\MediaLibrary\UrlGenerator\UrlGenerator |
public setMedia ( |
||
$media | ||
Результат | Spatie\MediaLibrary\UrlGenerator\UrlGenerator |
public setPathGenerator ( Spatie\MediaLibrary\PathGenerator\PathGenerator $pathGenerator ) : Spatie\MediaLibrary\UrlGenerator\UrlGenerator | ||
$pathGenerator | Spatie\MediaLibrary\PathGenerator\PathGenerator | |
Результат | Spatie\MediaLibrary\UrlGenerator\UrlGenerator |