Jackalope\Property::getIterator PHP Метод

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

Provide Traversable interface: redirect to getNodes with no filter
public getIterator ( ) : Iterator
Результат Iterator over all child nodes
    public function getIterator()
    {
        $this->checkState();
        $value = $this->getValue();
        if (!is_array($value)) {
            $value = array($value);
        }
        return new ArrayIterator($value);
    }