protected getEnvironment ( boolean $reset = false ) | ||
$reset | boolean |
protected function getEnvironment($reset = false)
{
if ($reset === true || null === $this->lessc) {
$this->lessc = new \lessc();
$this->lessc->addImportDir($this->getConfigFor('phr_template_dir'));
}
return $this->lessc;
}