You are here

public function lessc::__construct in Less CSS Preprocessor 6

Same name and namespace in other branches
  1. 6.3 lessphp/lessc.inc.php \lessc::__construct()

File

./lessc.inc.php, line 52

Class

lessc

Code

public function __construct($fname = null) {
  if ($fname) {
    $this
      ->load($fname);
  }
  $this->matchString = '(' . implode('|', array_map(array(
    $this,
    'preg_quote',
  ), array_keys($this->precedence))) . ')';
}