Property | 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\PriorityQueue | AssetManager\Resolver\ResolverInterface[] |
Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
addPath ( $path ) | {@inheritDoc} | |
addPaths ( array | Traversabl\Traversable $paths ) : self | Add many paths to the stack at once | |
clearPaths ( ) | {@inheritDoc} | |
collect ( ) | {@inheritDoc} | |
getMimeResolver ( ) : AssetManager\Service\MimeResolver | Get the mime resolver | |
getPaths ( ) | {@inheritDoc} | |
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 |
Method | Description | |
---|---|---|
normalizePath ( string $path ) : string | Normalize a path for insertion in the stack |
public getMimeResolver ( ) : AssetManager\Service\MimeResolver | ||
return | AssetManager\Service\MimeResolver |
public isLfiProtectionOn ( ) : boolean | ||
return | boolean |
protected normalizePath ( string $path ) : string | ||
$path | string | |
return | string |
public setLfiProtection ( boolean $flag ) : self | ||
$flag | boolean | |
return | self |
public setMimeResolver ( AssetManager\Service\MimeResolver $resolver ) | ||
$resolver | AssetManager\Service\MimeResolver |
protected bool $lfiProtectionOn | ||
return | boolean |
protected MimeResolver,AssetManager\Service $mimeResolver | ||
return | AssetManager\Service\MimeResolver |