Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
LessWrapper.php
Go to the documentation of this file.
1 <?php
11 
18 class LessWrapper extends Wrapper
19 {
20  const LESS_FILE_EXTENSION = 'less';
21 
22  const LESS_TOKENIZER = 'CSS';
23 
29  public function init()
30  {
31  parent::init();
32  $this->config->extensions += [self::LESS_FILE_EXTENSION => self::LESS_TOKENIZER];
33  }
34 }