예제 #1
0
 public function __construct(Container $container)
 {
     parent::__construct($container);
     $this->traverser = new NodeTraverser();
     $this->visitors = [];
 }
예제 #2
0
파일: Parser.php 프로젝트: tsufeki/phpcmplr
 public function __construct(Container $container)
 {
     parent::__construct($container);
     $this->nodes = [];
     $this->diagnostics = [];
 }
예제 #3
0
 /**
  * @param Container $container
  * @param string    $path      Full, absolute path.
  * @param string    $contents  UTF-8 encoded contents.
  */
 public function __construct(Container $container, $path, $contents)
 {
     parent::__construct($container);
     $this->path = $path;
     $this->contents = $contents;
 }
예제 #4
0
 /**
  * @param Container $container
  * @param string $path
  */
 public function __construct(Container $container, $path)
 {
     parent::__construct($container);
     $this->path = $path;
 }