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