프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |