PHP Класс Spatie\MediaLibrary\UrlGenerator\LocalUrlGenerator

Наследование: extends BaseUrlGenerator, implements Spatie\MediaLibrary\UrlGenerator\UrlGenerator
Показать файл Открыть проект

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

Метод Описание
getPath ( ) : string * Get the path for the profile of a media item.
getUrl ( ) : string Get the url for the profile of a media item.
rawUrlEncodeFilename ( string $path = '' ) : string

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

Метод Описание
getBaseMediaDirectory ( ) : Str * Get the directory where all files of the media item are stored.
getStoragePath ( ) : string * Get the path where the whole medialibrary is stored.
makeCompatibleForNonUnixHosts ( string $url ) : string

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

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

* Get the directory where all files of the media item are stored.
protected getBaseMediaDirectory ( ) : Str
Результат Spatie\String\Str

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

* Get the path for the profile of a media item.
public getPath ( ) : string
Результат string

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

* Get the path where the whole medialibrary is stored.
protected getStoragePath ( ) : string
Результат string

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

Get the url for the profile of a media item.
public getUrl ( ) : string
Результат string

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

protected makeCompatibleForNonUnixHosts ( string $url ) : string
$url string
Результат string

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

public rawUrlEncodeFilename ( string $path = '' ) : string
$path string
Результат string