| 1 | <?php |
||
| 9 | final class TokenIsNotUsedValidator extends ConstraintValidator |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var OrderRepositoryInterface |
||
| 13 | */ |
||
| 14 | private $orderRepository; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param OrderRepositoryInterface $orderRepository |
||
| 18 | */ |
||
| 19 | public function __construct(OrderRepositoryInterface $orderRepository) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | public function validate($token, Constraint $constraint) |
||
| 33 | } |
||
| 34 |