SINGULAR_SEPARATOR
SINGULAR_SEPARATOR = '|'
Character used for separating between plural and singular of an element.
Default implementation of {@link PropertyPathInterface}.
__construct(\Symfony\Component\PropertyAccess\PropertyPath|string $propertyPath)
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
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
getIterator() : \Symfony\Component\PropertyAccess\PropertyPathIteratorInterface
Returns a new iterator for this path.
Loading…