class
LessCompiler extends RevisionCompiler
Constants
REV_MANIFEST |
|
EMPTY_REVISION |
|
Properties
protected Filesystem
|
$assetsDir |
|
from RevisionCompiler |
|
protected string
|
$filename |
|
from RevisionCompiler |
|
protected callable[]
|
$sourcesCallbacks |
|
from RevisionCompiler |
|
protected string
|
$cacheDir |
|
|
|
protected array
|
$importDirs |
|
|
|
protected Collection
|
$lessImportOverrides |
|
|
|
protected Collection
|
$fileSourceOverrides |
|
|
|
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)
protected bool
save(string $file, array $sources)
protected string
compile(array $sources)
protected
putRevision(string|null $revision)
protected string
calculateRevision(array $sources)
protected array|null
getCacheDifferentiator()
setCacheDir(string $cacheDir)
setImportDirs(array $importDirs)
setLessImportOverrides(array $lessImportOverrides)
setFileSourceOverrides(array $fileSourceOverrides)
protected array
overrideSources(array $sources)
protected callable
overrideImports(array $sources)