public function __construct($options = array()) { if (!class_exists('\\lessc')) { throw new Exception\InvalidClass('Could not find \'lessc\' compiler class. ' . 'Please download and attach the class to your project from ' . '<a href="http://leafo.net/scssphp/">http://leafo.net/scssphp/</a>, or just add \'"leafo/scssphp": "*"\' to your composer config file.'); } parent::__construct($options); }
public function __construct($options = array()) { if (!class_exists('\\Stylus\\Stylus')) { throw new Exception\InvalidClass('Could not find \'\\Stylus\\Stylus\' compiler class. ' . 'Please download and attach the class to your project from ' . '<a href="https://github.com/AustP/Stylus.php/">https://github.com/AustP/Stylus.php/</a>, or just add \'"neemzy/stylus": "*"\' to your composer config file.'); } parent::__construct($options); }
/** * Compiler constructor. * * @param mixed $options */ public function __construct($options = NULL) { $this->options['cli_run'] = "php --version < %s > %s"; parent::__construct($options); }