Latte\Macros\MacroSet::__construct PHP Method

__construct() public method

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

Usage Example

Beispiel #1
0
 public function __construct(Latte\Engine $engine, Texy $texy)
 {
     $this->texy = $texy;
     parent::__construct($engine->getCompiler());
 }
All Usage Examples Of Latte\Macros\MacroSet::__construct