PHP Класс Spatie\MediaLibrary\PathGenerator\BasePathGenerator

Наследование: implements 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.

Защищенные методы

Метод Описание
getBasePath ( Media $media ) : string * Get a (unique) base path for the given media.

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

getBasePath() защищенный Метод

* Get a (unique) base path for the given media.
protected getBasePath ( Media $media ) : string
$media Spatie\MediaLibrary\Media
Результат string

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