| 1 | <?php |
||
| 17 | class Constraints extends AbstractPropertyValidator implements PropertyValidatorInterface |
||
| 18 | { |
||
| 19 | const DIC_NAME = 'ConstraintsValidator'; |
||
| 20 | const MESSAGE_TEMPLATE = '"%s" contained constraint is not valid. Should be an array with three values.'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @inheritDoc |
||
| 24 | */ |
||
| 25 | 3 | public function isValid($property, JobEntityInterface $jobEntity) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param array $constraints |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | 3 | private function isConstraintsPropertyValid($constraints) |
|
| 54 | } |
||
| 55 |