Symfony\Component\PropertyAccess\PropertyPathInterface::getParent
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.
Signature
public function getParent()
Returns
- PropertyPath
- The parent path or null