class
RevisionCompiler implements
CompilerInterface
Constants
REV_MANIFEST |
|
EMPTY_REVISION |
|
Properties
protected Filesystem
|
$assetsDir |
|
|
|
protected string
|
$filename |
|
|
|
protected callable[]
|
$sourcesCallbacks |
|
|
|
Methods
__construct(
Filesystem $assetsDir, string $filename)
No description
commit(bool $force = false)
No description
bool
save(string $file, array $sources)
No description
string
compile(array $sources)
No description
string
format(string $string)
No description
delete(string $file)
No description
Details
__construct(Filesystem $assetsDir, string $filename)
setFilename(string $filename)
commit(bool $force = false)
addSources(callable $callback)
protected array
getSources()
protected bool
save(string $file, array $sources)
protected string
compile(array $sources)
protected string|null
getRevision()
protected
putRevision(string|null $revision)
protected string
calculateRevision(array $sources)
protected array|null
getCacheDifferentiator()
protected
delete(string $file)