__construct() публичный Метод

public __construct ( Compiler $compiler )
$compiler Latte\Compiler
Пример #1
0
 public function __construct(Latte\Engine $engine, Texy $texy)
 {
     $this->texy = $texy;
     parent::__construct($engine->getCompiler());
 }
Пример #2
0
 /**
  * EditorMacros constructor.
  */
 public function __construct(Engine $engine, IICMSAuthorizator $authorizator)
 {
     parent::__construct($engine->getCompiler());
     $this->engine = $engine;
     $this->authorizator = $authorizator;
 }