ViolationPath

ViolationPath

class ViolationPath implements IteratorAggregate, PropertyPathInterface

Methods

__construct(string $violationPath)

Creates a new violation path from a string.

string __toString()

Returns the string representation of the property path.

int getLength()

Returns the length of the property path, i.e. the number of elements.

登录查看完整内容