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
 public function __construct(Latte\Engine $engine, Texy $texy)
 {
     $this->texy = $texy;
     parent::__construct($engine->getCompiler());
 }
All Usage Examples Of Latte\Macros\MacroSet::__construct