W3cubDocs

/Symfony 4.1

PropertyPathIteratorInterface

interface PropertyPathIteratorInterface implements Iterator, SeekableIterator

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

bool isIndex()

Returns whether the current element in the property path is an array index.

Return Value

bool

bool isProperty()

Returns whether the current element in the property path is a property name.

Return Value

bool

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/PropertyAccess/PropertyPathIteratorInterface.html