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