Свойство | 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. |
Méthode | 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 |
Méthode | 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 | ||
Résultat | AssetManager\Service\MimeResolver |
public isLfiProtectionOn ( ) : boolean | ||
Résultat | boolean |
protected loadDatatypesAliases ( ) : void | ||
Résultat | void |
protected loadModulesAliases ( ) : void | ||
Résultat | void |
protected normalizePath ( string $path ) : string | ||
$path | string | Path to normalize |
Résultat | string |
public setLfiProtection ( boolean $flag ) : self | ||
$flag | boolean | Define if lfi protection is active |
Résultat | self |
public setMimeResolver ( AssetManager\Service\MimeResolver $resolver ) : void | ||
$resolver | AssetManager\Service\MimeResolver | Resolver |
Résultat | void |
protected bool $lfiProtectionOn | ||
Résultat | boolean |
protected MimeResolver,AssetManager\Service $mimeResolver | ||
Résultat | AssetManager\Service\MimeResolver |