| 1 | <?php |
||
| 8 | final class CrudsParamConverter |
||
| 9 | { |
||
| 10 | use CrudsRequestCheckerTrait; |
||
| 11 | |||
| 12 | /** @var RouterInterface */ |
||
| 13 | private $router; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * CrudsParamConverter constructor. |
||
| 17 | * |
||
| 18 | * @param RouterInterface $router |
||
| 19 | */ |
||
| 20 | 12 | public function __construct(RouterInterface $router) |
|
| 24 | |||
| 25 | 12 | public function onCrudRequest(GetResponseEvent $event) |
|
| 49 | |||
| 50 | /** {@inheritdoc} */ |
||
| 51 | 12 | protected function getRouter() |
|
| 55 | } |
||
| 56 |