FluentDOM\Iterators\NodesIterator::getChildren PHP Method

getChildren() public method

Get children of the current iterator element
    public function getChildren()
    {
        $owner = $this->getOwner();
        $query = $owner->spawn();
        $query->push($owner->item($this->_position)->childNodes);
        return new self($query);
    }