1 | <?php |
||
14 | class RouterCollectionProvider implements ProviderInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var RouterInterface |
||
18 | */ |
||
19 | private $primaryRouter; |
||
20 | |||
21 | /** |
||
22 | * @var WebRouterInterface |
||
23 | */ |
||
24 | private $webRouter; |
||
25 | |||
26 | /** |
||
27 | * @param RouterInterface $router |
||
28 | * @param WebRouterInterface $webRouter |
||
29 | * |
||
30 | * @Inject |
||
31 | * @Named("router=primary_router") |
||
32 | */ |
||
33 | 4 | public function __construct(RouterInterface $router, WebRouterInterface $webRouter) |
|
34 | { |
||
35 | 4 | $this->primaryRouter = $router; |
|
36 | 4 | $this->webRouter = $webRouter; |
|
37 | } |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function get() |
||
46 | } |
||
47 |