Latte\Macros\MacroSet::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( Compiler $compiler )
$compiler Latte\Compiler
    public function __construct(Latte\Compiler $compiler)
    {
        $this->compiler = $compiler;
    }

Usage Example

예제 #1
0
파일: TexyMacro.php 프로젝트: dg/texy
 public function __construct(Latte\Engine $engine, Texy $texy)
 {
     $this->texy = $texy;
     parent::__construct($engine->getCompiler());
 }
All Usage Examples Of Latte\Macros\MacroSet::__construct