Свойство | Тип | Описание | |
---|---|---|---|
$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. |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
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 | ||
Результат | AssetManager\Service\MimeResolver |
public isLfiProtectionOn ( ) : boolean | ||
Результат | boolean |
protected loadDatatypesAliases ( ) : void | ||
Результат | void |
protected loadModulesAliases ( ) : void | ||
Результат | void |
protected normalizePath ( string $path ) : string | ||
$path | string | Path to normalize |
Результат | string |
public setLfiProtection ( boolean $flag ) : self | ||
$flag | boolean | Define if lfi protection is active |
Результат | self |
public setMimeResolver ( AssetManager\Service\MimeResolver $resolver ) : void | ||
$resolver | AssetManager\Service\MimeResolver | Resolver |
Результат | void |
protected bool $lfiProtectionOn | ||
Результат | boolean |
protected MimeResolver,AssetManager\Service $mimeResolver | ||
Результат | AssetManager\Service\MimeResolver |