Свойство | Type | Description | |
---|---|---|---|
$lfiProtectionOn | boolean | Flag indicating whether or not LFI protection for rendering view scripts is enabled | |
$mimeResolver | AssetManager\Service\MimeResolver | The mime resolver. | |
$paths | Zend\Stdlib\SplStack |
Méthode | Description | |
---|---|---|
__construct ( ) | Constructor | |
addPath ( string $path ) | Add a single path to the stack | |
addPaths ( array | Traversabl\Traversable $paths ) | Add many paths to the stack at once | |
clearPaths ( ) : void | Clear all paths | |
collect ( ) | {@inheritDoc} | |
getMimeResolver ( ) : AssetManager\Service\MimeResolver | Get the mime resolver | |
getPaths ( ) : Zend\Stdlib\SplStack | Returns stack of paths | |
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 | |
setPaths ( Traversabl\Traversable | array $paths ) | Rest the path stack to the paths provided |
Méthode | Description | |
---|---|---|
normalizePath ( string $path ) : string | Normalize a path for insertion in the stack |
public getMimeResolver ( ) : AssetManager\Service\MimeResolver | ||
Résultat | AssetManager\Service\MimeResolver |
public getPaths ( ) : Zend\Stdlib\SplStack | ||
Résultat | Zend\Stdlib\SplStack |
public isLfiProtectionOn ( ) : boolean | ||
Résultat | boolean |
protected normalizePath ( string $path ) : string | ||
$path | string | |
Résultat | string |
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 |
protected MimeResolver,AssetManager\Service $mimeResolver | ||
Résultat | AssetManager\Service\MimeResolver |