Свойство | Тип | Описание | |
---|---|---|---|
$driver_generators | array | map of UrlGenerator classes to use for different filesystem drivers. |
Метод | Описание | |
---|---|---|
create ( |
Get a UrlGenerator instance for a media. | |
setGeneratorForFilesystemDriver ( $class, string $driver ) : void | Set a generator subclass to use for media on a disk with a particular driver. |
Метод | Описание | |
---|---|---|
getDriverForDisk ( string $disk ) : string | Get the driver used by a specified disk. | |
validateGeneratorClass ( string $class ) : void | Verify that a class name is a valid generator. |
public create ( |
||
$media | ||
Результат | UrlGenerator |
protected getDriverForDisk ( string $disk ) : string | ||
$disk | string | |
Результат | string |
public setGeneratorForFilesystemDriver ( $class, string $driver ) : void | ||
$driver | string | |
Результат | void |
protected validateGeneratorClass ( string $class ) : void | ||
$class | string | |
Результат | void |
protected array $driver_generators | ||
Результат | array |