Property | Type | Description | |
---|---|---|---|
$driver_generators | array | map of UrlGenerator classes to use for different filesystem drivers. |
Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
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 | ||
return | UrlGenerator |
protected getDriverForDisk ( string $disk ) : string | ||
$disk | string | |
return | string |
public setGeneratorForFilesystemDriver ( $class, string $driver ) : void | ||
$driver | string | |
return | void |
protected validateGeneratorClass ( string $class ) : void | ||
$class | string | |
return | void |
protected array $driver_generators | ||
return | array |