SINGULAR_SEPARATOR
SINGULAR_SEPARATOR = '|'
Character used for separating between plural and singular of an element.
Default implementation of {@link PropertyPathInterface}.
$elements : array
The elements of the property path.
$length : int
The number of elements in the property path.
$isIndex : array
Contains a Boolean for each property in $elements denoting whether this element is an index. It is a property otherwise.
$pathAsString : string
String representation of the path.
__construct(\Symfony\Component\PropertyAccess\PropertyPath|string $propertyPath) : mixed
Constructs a property path from a string.
\Symfony\Component\PropertyAccess\PropertyPath|string | $propertyPath | The property path as string or instance |
If the given path is not a string
If the syntax of the property path is not valid