PropertyPathIterator
class PropertyPathIterator extends ArrayIterator implements PropertyPathIteratorInterface
Traverses a property path and provides additional methods to find out information about the current element.
Methods
bool
isIndex()
Returns whether the current element in the property path is an array index.
bool
isProperty()
Returns whether the current element in the property path is a property name.
Details
at line line 34
__construct(PropertyPathInterface $path)
Constructor.
at line line 44
bool
isIndex()
Returns whether the current element in the property path is an array index.
at line line 52
bool
isProperty()
Returns whether the current element in the property path is a property name.