public getIterator ( ) : Iterator | ||
return | Iterator | over all child nodes |
public function getIterator()
{
$this->checkState();
$value = $this->getValue();
if (!is_array($value)) {
$value = array($value);
}
return new ArrayIterator($value);
}