Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | final class ComparerNotEmptyValidator extends ConstraintValidator |
||
12 | { |
||
13 | /** @var ComparerCapacityCheckerInterface */ |
||
14 | private $capacityChecker; |
||
15 | |||
16 | public function __construct(ComparerCapacityCheckerInterface $capacityChecker) |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Checks if the passed value is valid. |
||
23 | * |
||
24 | * @param mixed $value The value that should be validated |
||
25 | * @param Constraint $constraint The constraint for the validation |
||
26 | */ |
||
27 | public function validate($value, Constraint $constraint) |
||
35 |