__toString()
__toString() : string
Returns the string representation of the property path.
Returns
string —The path as string
A sequence of property names or array indices.
getParent() : \Symfony\Component\PropertyAccess\PropertyPath
Returns the parent property path.
The parent property path is the one that contains the same items as this one except for the last one.
If this property path only contains one item, null is returned.
The parent path or null
isProperty(integer $index) : boolean
Returns whether the element at the given index is a property.
integer | $index | The index in the property path |
If the offset is invalid
Whether the element at this index is a property
isIndex(integer $index) : boolean
Returns whether the element at the given index is an array index.
integer | $index | The index in the property path |
If the offset is invalid
Whether the element at this index is an array index
Loading…