public function __construct(Container $container)
 {
     parent::__construct($container);
     $this->traverser = new NodeTraverser();
     $this->visitors = [];
 }
Example #2
0
 public function __construct(Container $container)
 {
     parent::__construct($container);
     $this->nodes = [];
     $this->diagnostics = [];
 }
Example #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;
 }
Example #4
0
 /**
  * @param Container $container
  * @param string $path
  */
 public function __construct(Container $container, $path)
 {
     parent::__construct($container);
     $this->path = $path;
 }