| 1 | <?php |
||
| 12 | class RouterCollectionProvider implements ProviderInterface |
||
| 13 | { |
||
| 14 | /** @var RouterInterface */ |
||
| 15 | private $primaryRouter; |
||
| 16 | |||
| 17 | /** @var WebRouterInterface */ |
||
| 18 | private $webRouter; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @Inject |
||
| 22 | * @Named("router=primary_router") |
||
| 23 | */ |
||
| 24 | public function __construct(RouterInterface $router, WebRouterInterface $webRouter) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function get(): RouterCollection |
||
| 37 | } |
||
| 38 |