| 1 | <?php |
||
| 12 | class NoExistingRouteValidator extends ConstraintValidator |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var RouterInterface |
||
| 16 | */ |
||
| 17 | private $router; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var bool |
||
| 21 | */ |
||
| 22 | private $showRoute; |
||
| 23 | |||
| 24 | public function __construct(RouterInterface $router, bool $showRoute = true) |
||
| 29 | |||
| 30 | public function validate($value, Constraint $constraint): void |
||
| 45 | } |
||
| 46 |