Symfony\Component\Form\Extension\Validator\ViolationMapper\MappingRule
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class MappingRule
{
- // members
- private FormInterface $origin;
- private string $propertyPath;
- private string $targetPath;
- // methods
- public void __construct()
- public FormInterface getOrigin()
- public null|FormInterface match()
- public Boolean isPrefix()
- public FormInterface getTarget()
Members
private
- $origin — Symfony\Component\Form\FormInterface
- $propertyPath — string
- $targetPath — string
Methods
public
- __construct()
- getOrigin()
- getTarget()
- isPrefix() — Matches a property path against a prefix of the rule path.
- match() — Matches a property path against the rule path.