PHP Интерфейс Spatie\MediaLibrary\PathGenerator\PathGenerator

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
getPath ( Media $media ) : string * Get the path for the given media, relative to the root storage path.
getPathForConversions ( Media $media ) : string * Get the path for conversions of the given media, relative to the root storage path.

Описание методов

getPath() публичный Метод

* Get the path for the given media, relative to the root storage path.
public getPath ( Media $media ) : string
$media Spatie\MediaLibrary\Media
Результат string

getPathForConversions() публичный Метод

* Get the path for conversions of the given media, relative to the root storage path.
public getPathForConversions ( Media $media ) : string
$media Spatie\MediaLibrary\Media
Результат string