remove() public method

Removes child from list of children.
public remove ( ) : Element
return Element the node that has been removed
コード例 #1
0
ファイル: ElementTest.php プロジェクト: imangazaliev/didom
 /**
  * @expectedException LogicException
  */
 public function testRemoveWithoutParentNode()
 {
     $element = new Element('div', 'Foo');
     $element->remove();
 }