__construct() public method

public __construct ( Compiler $compiler )
$compiler Latte\Compiler
Exemplo n.º 1
0
 public function __construct(Latte\Engine $engine, Texy $texy)
 {
     $this->texy = $texy;
     parent::__construct($engine->getCompiler());
 }
Exemplo n.º 2
0
 /**
  * EditorMacros constructor.
  */
 public function __construct(Engine $engine, IICMSAuthorizator $authorizator)
 {
     parent::__construct($engine->getCompiler());
     $this->engine = $engine;
     $this->authorizator = $authorizator;
 }