프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |