getCompiler() public method

Returns a compiler object.
public getCompiler ( ) : Compiler
return Compiler
コード例 #1
0
ファイル: BaseTestCase.php プロジェクト: hamlphp/hamlphp
 public function __construct()
 {
     $this->evaluator = new ContentEvaluator();
     $hamlPHP = new HamlPHP(new FileStorage(dirname(__FILE__) . '/tmp/'));
     $hamlPHP->disableCache();
     $this->compiler = $hamlPHP->getCompiler();
 }