class Assets
Properties
protected Container | $container | |||
protected Config | $config | |||
protected Assets | $assets |
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 75
protected array
assembleCompilers(string|null $locale)
<p>Assembles JS and CSS compilers to be used to generate frontend assets.</p>
at
line 90
protected void
addAssetsToDocument(Document $document, array $compilers)
<p>Adds URLs of frontend JS and CSS to the Document class.</p>
at
line 101
protected void
forceCommit(array $compilers)
<p>Force compilation of assets when in debug mode.</p>
at
line 115
protected array
getUrls(array $compilers)
<p>Maps provided CompilerInterfaces to their URLs.</p>