Property | Type | Description | |
---|---|---|---|
$actionName | string | ||
$assetManager | Assetic\AssetManager | ||
$assetWriter | Assetic\AssetWriter | ||
$cacheBusterStrategy | Assetic\Factory\Worker\WorkerInterface | ||
$configuration | |||
$controllerName | string | ||
$filterManager | Assetic\FilterManager | ||
$routeName | string | ||
$strategy | AsseticBundle\View\StrategyInterface[] |
Method | Description | |
---|---|---|
__construct ( |
||
build ( ) | Build collection of assets. | |
createAssetFactory ( array $configuration ) : Assetic\Factory\AssetFactory | ||
getActionConfig ( ) | ||
getActionName ( ) : string | ||
getAssetManager ( ) | ||
getAssetWriter ( ) | ||
getCacheBusterStrategy ( ) | ||
getConfiguration ( ) : |
Gets the service configuration. | |
getControllerConfig ( ) | ||
getControllerName ( ) : string | ||
getDefaultConfig ( ) | ||
getFilterManager ( ) | ||
getRendererName ( Zend\View\Renderer\RendererInterface $renderer ) : string | Get renderer name from $renderer object. | |
getRouteName ( ) | ||
getRouterConfig ( ) | ||
getStrategyForRenderer ( Zend\View\Renderer\RendererInterface $renderer ) : AsseticBundle\View\StrategyInterface | null | Get strategy to setup assets for given $renderer. | |
hasStrategyForRenderer ( Zend\View\Renderer\RendererInterface $renderer ) : boolean | ||
moveRaw ( Assetic\Asset\AssetCollection $asset, string | null $targetPath, Assetic\Factory\AssetFactory $factory, boolean $disableSourcePath = false ) | ||
prepareCollection ( array $options, string $name, Assetic\Factory\AssetFactory $factory ) : void | ||
setActionName ( string $actionName ) | ||
setAssetManager ( Assetic\AssetManager $assetManager ) | ||
setAssetWriter ( $assetWriter ) | ||
setCacheBusterStrategy ( Assetic\Factory\Worker\WorkerInterface $cacheBusterStrategy ) | ||
setControllerName ( string $controllerName ) | ||
setFilterManager ( Assetic\FilterManager $filterManager ) | ||
setRouteName ( $routeName ) | ||
setupRenderer ( Zend\View\Renderer\RendererInterface $renderer ) | ||
setupRendererFromOptions ( Zend\View\Renderer\RendererInterface $renderer, array $options ) | ||
writeAsset ( Assetic\Asset\AssetInterface $asset, Assetic\Factory\AssetFactory $factory ) | Write $asset to public directory. |
Method | Description | |
---|---|---|
write ( Assetic\Asset\AssetInterface $asset, Assetic\Factory\AssetFactory $factory ) |
Method | Description | |
---|---|---|
cacheAsset ( Assetic\Asset\AssetInterface $asset ) | ||
initFilters ( array $filters ) |
public __construct ( |
||
$configuration |
public createAssetFactory ( array $configuration ) : Assetic\Factory\AssetFactory | ||
$configuration | array | |
return | Assetic\Factory\AssetFactory |
public getConfiguration ( ) : |
||
return |
public getRendererName ( Zend\View\Renderer\RendererInterface $renderer ) : string | ||
$renderer | Zend\View\Renderer\RendererInterface | |
return | string |
public getStrategyForRenderer ( Zend\View\Renderer\RendererInterface $renderer ) : AsseticBundle\View\StrategyInterface | null | ||
$renderer | Zend\View\Renderer\RendererInterface | |
return | AsseticBundle\View\StrategyInterface | null |
public hasStrategyForRenderer ( Zend\View\Renderer\RendererInterface $renderer ) : boolean | ||
$renderer | Zend\View\Renderer\RendererInterface | |
return | boolean |
public setAssetManager ( Assetic\AssetManager $assetManager ) | ||
$assetManager | Assetic\AssetManager |
public setCacheBusterStrategy ( Assetic\Factory\Worker\WorkerInterface $cacheBusterStrategy ) | ||
$cacheBusterStrategy | Assetic\Factory\Worker\WorkerInterface |
public setControllerName ( string $controllerName ) | ||
$controllerName | string |
public setFilterManager ( Assetic\FilterManager $filterManager ) | ||
$filterManager | Assetic\FilterManager |
public setupRenderer ( Zend\View\Renderer\RendererInterface $renderer ) | ||
$renderer | Zend\View\Renderer\RendererInterface |
public setupRendererFromOptions ( Zend\View\Renderer\RendererInterface $renderer, array $options ) | ||
$renderer | Zend\View\Renderer\RendererInterface | |
$options | array |
protected write ( Assetic\Asset\AssetInterface $asset, Assetic\Factory\AssetFactory $factory ) | ||
$asset | Assetic\Asset\AssetInterface | Asset to write |
$factory | Assetic\Factory\AssetFactory | The factory this asset was generated with |
public writeAsset ( Assetic\Asset\AssetInterface $asset, Assetic\Factory\AssetFactory $factory ) | ||
$asset | Assetic\Asset\AssetInterface | Asset to write |
$factory | Assetic\Factory\AssetFactory | The factory this asset was generated with |
protected AssetManager,Assetic $assetManager | ||
return | Assetic\AssetManager |
protected AssetWriter,Assetic $assetWriter | ||
return | Assetic\AssetWriter |
protected WorkerInterface,Assetic\Factory\Worker $cacheBusterStrategy | ||
return | Assetic\Factory\Worker\WorkerInterface |
protected Configuration,asseticbundle $configuration | ||
return |
protected FilterManager,Assetic $filterManager | ||
return | Assetic\FilterManager |