ViolationPathIterator getIterator() Returns a new iterator for this path. Return Value ViolationPathIterator
class MappingRule Methods
bool isProperty(int $index) Returns whether the element at the given index is a property.
PropertyPath getParent()
string getElement(int $index) Returns the element at the given index in the property path.
FormInterface getOrigin()
class RelativePath extends
int getLength() Returns the length of the property path, i.e. the number of elements.
Page 2 of 2