Example #1
0
 /**
  * @param string        $path
  * @param NodeInterface $node
  */
 public function __construct($path, NodeInterface $node)
 {
     parent::__construct($path);
     $this->node = $node;
 }
 /**
  * @param string            $path
  * @param DocumentInterface $document
  */
 public function __construct($path, $document)
 {
     parent::__construct($path);
     $this->document = $document;
 }