public function getCompiler() { if ($this->_compiler === null) { $this->_compiler = new Compiler($this); } return $this->_compiler; }
public function __construct() { $this->evaluator = new ContentEvaluator(); $hamlPHP = new HamlPHP(new FileStorage(dirname(__FILE__) . '/tmp/')); $hamlPHP->disableCache(); $this->compiler = $hamlPHP->getCompiler(); }