__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.
isProperty(int $index) : bool
Returns whether the element at the given index is a property.
int | $index | The index in the property path |
If the offset is invalid
Whether the element at this index is a property
isIndex(int $index) : bool
Returns whether the element at the given index is an array index.
int | $index | The index in the property path |
If the offset is invalid
Whether the element at this index is an array index