parent() 공개 메소드

public parent ( ) : Element | Document | null
리턴 Element | Document | null
예제 #1
0
 public function testParentWithoutOwner()
 {
     $element = new Element(new \DOMElement('span', 'hello'));
     $this->assertNull($element->parent());
 }