Symfony2 API
Class

Symfony\Component\Form\Util\PropertyPathIterator

class PropertyPathIterator extends PropertyPathIterator

Alias for {@link \Symfony\Component\PropertyAccess\PropertyPathIterator}.

Methods

__construct($propertyPath)

Constructor.

Boolean isIndex()

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

from PropertyPathIterator
Boolean isProperty()

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

from PropertyPathIterator

Details

at line 30
public __construct($propertyPath)

Constructor.

Parameters

$propertyPath

in PropertyPathIterator at line 43
public Boolean isIndex()

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

Return Value

Boolean

in PropertyPathIterator at line 51
public Boolean isProperty()

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

Return Value

Boolean