Symfony\Component\Form\Extension\Validator\ViolationMapper\MappingRule::isPrefix
Matches a property path against a prefix of the rule path.
Signature
public function isPrefix(string
$propertyPath )
Parameters
$propertyPath
— string- The property path to match against the rule.
Returns
- Boolean
- Whether the property path is a prefix of the rule or not.