class PropertyPathIterator extends ArrayIterator implements PropertyPathIteratorInterface
Traverses a property path and provides additional methods to find out information about the current element.
protected | $path |
__construct(PropertyPathInterface $path) | ||
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. |
PropertyPathInterface | $path | The property path to traverse |
Returns whether the current element in the property path is an array index.
bool |
Returns whether the current element in the property path is a property name.
bool |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/PropertyAccess/PropertyPathIterator.html