remove() публичный Метод

Removes child from list of children.
public remove ( ) : Element
Результат Element the node that has been removed
Пример #1
0
 /**
  * @expectedException LogicException
  */
 public function testRemoveWithoutParentNode()
 {
     $element = new Element('div', 'Foo');
     $element->remove();
 }