__construct() 공개 메소드

public __construct ( Compiler $compiler )
$compiler Latte\Compiler
예제 #1
0
파일: TexyMacro.php 프로젝트: dg/texy
 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;
 }