Inheritance: extends LeafNode
Example #1
0
 public function testAncestorByTag()
 {
     $node = new TextNode('foo bar');
     $text = $node->ancestorByTag('text');
     $this->assertEquals($node, $text);
 }