current()
getChildren()
hasChildren()
key()
next()
rewind()
valid()
$children
$index
current() : mixed
getChildren() : \RecursiveIterator
link | http://php.net/manual/en/recursiveiterator.getchildren.php |
---|
\RecursiveIterator
An iterator for the current entry.hasChildren() : bool
link | http://php.net/manual/en/recursiveiterator.haschildren.php |
---|
bool
true if the current entry can be iterated over, otherwise returns false.key() : int | null
link | http://php.net/manual/en/iterator.key.php |
---|
int
null
scalar on success, or null on failure.next() : void
rewind() : void
valid() : bool
link | http://php.net/manual/en/iterator.valid.php |
---|
bool
The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.$children : array
$index : int