Remove unused SimpleXMLElement::children() method (#339)

This commit is contained in:
Adrien Loison 2016-10-17 22:49:37 -07:00 committed by GitHub
parent 752f4bf64e
commit 2fa01cd838

View File

@ -149,22 +149,6 @@ class SimpleXMLElement
return $doesElementExist ? $this->wrapSimpleXMLElement($realElement) : null; return $doesElementExist ? $this->wrapSimpleXMLElement($realElement) : null;
} }
/**
* Returns the immediate children.
*
* @return SimpleXMLElement[] The children
*/
public function children()
{
$children = [];
foreach ($this->simpleXMLElement->children() as $child) {
$children[] = $this->wrapSimpleXMLElement($child);
}
return $children;
}
/** /**
* @return string * @return string
*/ */