WebAssetsCompiler
in package
Table of Contents
- $assets : mixed
- $collections : mixed
- $config : mixed
- $groupsOrder : mixed
- $includedAssetsGroups : mixed
- $revisionQueryUrlParam : string
- __construct() : mixed
- WebAssetsCompiler constructor.
- compile() : StdClass
- appendRevisionToUrl() : mixed
- getDependenciesOrder() : mixed
- getGroupDependencies() : mixed
- getGroupProperties() : mixed
- includeAssetsGroup() : mixed
- parseAsset() : mixed
- parseAssetsSet() : mixed
Properties
$assets
protected
mixed
$assets
= array()
$collections
protected
mixed
$collections
= array()
$config
protected
mixed
$config
$groupsOrder
protected
mixed
$groupsOrder
= array()
$includedAssetsGroups
protected
mixed
$includedAssetsGroups
= array()
$revisionQueryUrlParam
protected
string
$revisionQueryUrlParam
the assetsRevQueryUrl configuration value, e.g. something like '_r=1234'. It may be empty.
Methods
__construct()
WebAssetsCompiler constructor.
public
__construct() : mixed
Return values
mixed —compile()
public
compile(object $configuration[, bool $storeIntoConfiguration = true ]) : StdClass
Parameters
- $configuration : object
- $storeIntoConfiguration : bool = true
Return values
StdClass —data to use with WebAssetsSelector
appendRevisionToUrl()
protected
appendRevisionToUrl(mixed $url) : mixed
Parameters
- $url : mixed
Return values
mixed —getDependenciesOrder()
protected
getDependenciesOrder(mixed $collection) : mixed
Parameters
- $collection : mixed
Return values
mixed —getGroupDependencies()
protected
getGroupDependencies(mixed $group) : mixed
Parameters
- $group : mixed
Return values
mixed —getGroupProperties()
protected
getGroupProperties(mixed $collectionName, mixed $groupName) : mixed
Parameters
- $collectionName : mixed
- $groupName : mixed
Return values
mixed —includeAssetsGroup()
protected
includeAssetsGroup(mixed $group) : mixed
Parameters
- $group : mixed
Return values
mixed —parseAsset()
protected
parseAsset(mixed $asset) : mixed
Parameters
- $asset : mixed
Return values
mixed —parseAssetsSet()
protected
parseAssetsSet(mixed $sectionName, mixed &$commonCollection) : mixed
Parameters
- $sectionName : mixed
- $commonCollection : mixed