| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class ProductNotInComparerValidator extends ConstraintValidator |
||
| 14 | { |
||
| 15 | /** @var ProductRepositoryInterface */ |
||
| 16 | private $productRepository; |
||
| 17 | |||
| 18 | public function __construct(ProductRepositoryInterface $productRepository) |
||
| 19 | { |
||
| 20 | $this->productRepository = $productRepository; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param AddProductToComparerRequest $requestData |
||
| 25 | * @param Constraint $constraint |
||
| 26 | */ |
||
| 27 | public function validate($requestData, Constraint $constraint) |
||
| 37 | } |
||
| 38 | } |
||
| 40 |