| 1 | <?php |
||
| 17 | class RequiredRule implements ConstraintMapperInterface |
||
| 18 | { |
||
| 19 | const RULE_NAME = 'required'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritdoc} |
||
| 23 | */ |
||
| 24 | 4 | public function resolve(Constraint $constraint, FormInterface $form, RuleCollection $collection) |
|
| 41 | |||
| 42 | 8 | public function supports(Constraint $constraint, FormInterface $form) |
|
| 53 | } |
||
| 54 |