class JsCompiler extends RevisionCompiler
Traits
Constants
EMPTY_REVISION |
|
Properties
protected callable[] | $sourcesCallbacks | from HasSources | ||
protected | $versioner | from RevisionCompiler |
class JsCompiler extends RevisionCompiler
EMPTY_REVISION |
|
protected callable[] | $sourcesCallbacks | from HasSources | ||
protected | $versioner | from RevisionCompiler |
void
addSources(callable $callback)
protected array
getSources()
abstract protected array
allowedSourceTypes()
__construct(Cloud $assetsDir, string $filename)
string|null
getFilename()
void
setFilename(string $filename)
void
commit(bool $force = false)
string|null
getUrl()
protected bool
save(string $file, array $sources)
protected string
compile(array $sources)
protected string
format(string $string)
protected string
calculateRevision(array $sources)
protected array|null
getCacheDifferentiator()
void
flush()
protected void
delete(string $file)