Tale\Jade\Renderer::getCompiler PHP Method

getCompiler() public method

Return the compiler instance used in this renderer instance.
public getCompiler ( ) : Compiler
return Compiler
    public function getCompiler()
    {
        return $this->compiler;
    }

Usage Example

コード例 #1
0
ファイル: MixinTest.php プロジェクト: TeaMeow/Avane
 public function testDuplicateInInclude()
 {
     $this->renderer->getCompiler()->setOption('replace_mixins', true);
     $this->assertEquals('<p>Testing</p>', $this->renderer->render('duplicate-in-include'));
 }
All Usage Examples Of Tale\Jade\Renderer::getCompiler