Свойство | Тип | Описание | |
---|---|---|---|
$asset | The asset | ||
$assetSetOnResponse | Whether this instance has at least one asset successfully set on response | ||
$cacheManager | The AssetCacheManager service. | ||
$config | The asset_manager configuration | ||
$filterManager | The AssetFilterManager service. | ||
$path | The requested path | ||
$resolver | AssetManager\Resolver\ResolverInterface |
Метод | Описание | |
---|---|---|
__construct ( AssetManager\Resolver\ResolverInterface $resolver, array $config = [] ) : |
Constructor | |
assetSetOnResponse ( ) : boolean | Returns true if this instance of asset manager has at least one asset successfully set on response | |
getAssetCacheManager ( ) : |
Get the AssetCacheManager | |
getAssetFilterManager ( ) : AssetManager\Service\AssetFilterManager | Get the AssetFilterManager | |
getResolver ( ) : AssetManager\Resolver\ResolverInterface | Get the resolver used by the asset manager | |
resolvesToAsset ( Zend\Stdlib\RequestInterface $request ) : boolean | Check if the request resolves to an asset. | |
setAssetCacheManager ( |
Set the AssetCacheManager. | |
setAssetFilterManager ( AssetManager\Service\AssetFilterManager $filterManager ) | Set the AssetFilterManager. | |
setAssetOnResponse ( Zend\Stdlib\ResponseInterface $response ) : Zend\Stdlib\ResponseInterface | Set the asset on the response, including headers and content. | |
setResolver ( AssetManager\Resolver\ResolverInterface $resolver ) | Set the resolver to use in the asset manager |
Метод | Описание | |
---|---|---|
resolve ( Zend\Stdlib\RequestInterface $request ) : mixed | Resolve the request to a file. | |
setConfig ( array $config ) | Set the config |
public __construct ( AssetManager\Resolver\ResolverInterface $resolver, array $config = [] ) : |
||
$resolver | AssetManager\Resolver\ResolverInterface | |
$config | array | |
Результат |
public assetSetOnResponse ( ) : boolean | ||
Результат | boolean |
public getAssetCacheManager ( ) : |
||
Результат |
public getAssetFilterManager ( ) : AssetManager\Service\AssetFilterManager | ||
Результат | AssetManager\Service\AssetFilterManager |
public getResolver ( ) : AssetManager\Resolver\ResolverInterface | ||
Результат | AssetManager\Resolver\ResolverInterface |
public resolvesToAsset ( Zend\Stdlib\RequestInterface $request ) : boolean | ||
$request | Zend\Stdlib\RequestInterface | |
Результат | boolean |
public setAssetCacheManager ( |
||
$cacheManager |
public setAssetFilterManager ( AssetManager\Service\AssetFilterManager $filterManager ) | ||
$filterManager | AssetManager\Service\AssetFilterManager |
public setAssetOnResponse ( Zend\Stdlib\ResponseInterface $response ) : Zend\Stdlib\ResponseInterface | ||
$response | Zend\Stdlib\ResponseInterface | |
Результат | Zend\Stdlib\ResponseInterface |
public setResolver ( AssetManager\Resolver\ResolverInterface $resolver ) | ||
$resolver | AssetManager\Resolver\ResolverInterface |
protected $assetSetOnResponse |