Свойство | Type | Description | |
---|---|---|---|
$aliases | Array | ||
$lfiProtectionOn | boolean | Flag indicating whether or not LFI protection for rendering view scripts is enabled | |
$mimeResolver | AssetManager\Service\MimeResolver | The mime resolver. |
Méthode | Description | |
---|---|---|
__construct ( array $aliases ) | Constructor | |
collect ( ) | {@inheritDoc} | |
getMimeResolver ( ) : AssetManager\Service\MimeResolver | Get the mime resolver | |
isLfiProtectionOn ( ) : boolean | Return status of LFI protection flag | |
resolve ( $name ) | {@inheritDoc} | |
setLfiProtection ( boolean $flag ) : self | Set LFI protection flag | |
setMimeResolver ( AssetManager\Service\MimeResolver $resolver ) | Set the mime resolver |
Méthode | Description | |
---|---|---|
addAlias ( string $alias, string $path ) | Add a single alias to the stack | |
normalizePath ( string $path ) : string | Normalize a path for insertion in the stack |
public __construct ( array $aliases ) | ||
$aliases | array |
public getMimeResolver ( ) : AssetManager\Service\MimeResolver | ||
Résultat | AssetManager\Service\MimeResolver |
public isLfiProtectionOn ( ) : boolean | ||
Résultat | boolean |
public setLfiProtection ( boolean $flag ) : self | ||
$flag | boolean | |
Résultat | self |
public setMimeResolver ( AssetManager\Service\MimeResolver $resolver ) | ||
$resolver | AssetManager\Service\MimeResolver |
protected bool $lfiProtectionOn | ||
Résultat | boolean |