Property | Type | Description | |
---|---|---|---|
$aliases | Array | Aliases | |
$lfiProtectionOn | boolean | Flag indicating whether or not LFI protection for rendering view scripts is enabled | |
$mimeResolver | AssetManager\Service\MimeResolver | The mime resolver. | |
$serviceLocator | Zend\ServiceManager\ServiceManager | The service manager. |
Method | Description | |
---|---|---|
__construct ( Zend\ServiceManager\ServiceManager $serviceManager = null ) | Constructor | |
addAlias ( string $alias, string $path ) : void | Add a single alias to the stack | |
getMimeResolver ( ) : AssetManager\Service\MimeResolver | Get the mime resolver | |
isLfiProtectionOn ( ) : boolean | Return status of LFI protection flag | |
resolve ( string $name ) : null | Assetic\Asset\FileAsset | Resolve an Asset | |
setLfiProtection ( boolean $flag ) : self | Set LFI protection flag | |
setMimeResolver ( AssetManager\Service\MimeResolver $resolver ) : void | Set the mime resolver |
Method | Description | |
---|---|---|
loadDatatypesAliases ( ) : void | Load Datatypes aliases | |
loadModulesAliases ( ) : void | Load module aliases | |
normalizePath ( string $path ) : string | Normalize a path for insertion in the stack |
public __construct ( Zend\ServiceManager\ServiceManager $serviceManager = null ) | ||
$serviceManager | Zend\ServiceManager\ServiceManager | Service Manager |
public getMimeResolver ( ) : AssetManager\Service\MimeResolver | ||
return | AssetManager\Service\MimeResolver |
public isLfiProtectionOn ( ) : boolean | ||
return | boolean |
protected loadDatatypesAliases ( ) : void | ||
return | void |
protected loadModulesAliases ( ) : void | ||
return | void |
protected normalizePath ( string $path ) : string | ||
$path | string | Path to normalize |
return | string |
public setLfiProtection ( boolean $flag ) : self | ||
$flag | boolean | Define if lfi protection is active |
return | self |
public setMimeResolver ( AssetManager\Service\MimeResolver $resolver ) : void | ||
$resolver | AssetManager\Service\MimeResolver | Resolver |
return | void |
protected bool $lfiProtectionOn | ||
return | boolean |
protected MimeResolver,AssetManager\Service $mimeResolver | ||
return | AssetManager\Service\MimeResolver |