Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (FileNameResolver $fileNameResolver, NotationResolver\Module $notationResolver, DeployStaticFile $deployStaticFile, Minification $minification) | |
process (Package $package, array $options) | |
Pre-processor for speeding up deployment of Less files
LESS-to-CSS compilation should happen only when it is really needed. If in some package there is no LESS files overridden which used for generating some CSS file, then such CSS file can be copied from ancestor package as is
__construct | ( | FileNameResolver | $fileNameResolver, |
NotationResolver\Module | $notationResolver, | ||
DeployStaticFile | $deployStaticFile, | ||
Minification | $minification | ||
) |
Less constructor
FileNameResolver | $fileNameResolver | |
NotationResolver\Module | $notationResolver | |
DeployStaticFile | $deployStaticFile | |
Minification | $minification |
process | ( | Package | $package, |
array | $options | ||
) |
Process packagePackage processors may produce additional (derivative) files or do additional content modifications
Package | $package | |
array | $options |
Implements ProcessorInterface.
Definition at line 84 of file Less.php.