class Assets
Properties
protected | $assets | |||
protected | $commonAssets |
Methods
array
assembleCompilers(string|null $locale)
<p>Assembles JS and CSS compilers to be used to generate frontend assets.</p>
void
addAssetsToDocument(Document $document, array $compilers)
<p>Adds URLs of frontend JS and CSS to the Document class.</p>
Details
at
line 25
__construct(Container $container, Config $config)
at
line 62
protected array
assembleCompilers(string|null $locale)
<p>Assembles JS and CSS compilers to be used to generate frontend assets.</p>
at
line 79
protected void
addAssetsToDocument(Document $document, array $compilers)
<p>Adds URLs of frontend JS and CSS to the Document class.</p>
at
line 90
protected void
forceCommit(array $compilers)
<p>Force compilation of assets when in debug mode.</p>
at
line 103
protected array
getUrls(array $compilers)
<p>Maps provided CompilerInterfaces to their URLs.</p>