1 | <?php |
||
11 | class Router |
||
12 | { |
||
13 | /** @var MethodCollection */ |
||
14 | private $collection; |
||
15 | |||
16 | /** |
||
17 | * Router constructor. |
||
18 | * |
||
19 | * @param LoaderResolverInterface $resolver |
||
20 | * @param array $resources |
||
21 | * @param MethodCollection|null $collection |
||
22 | * |
||
23 | * @throws \RuntimeException |
||
24 | */ |
||
25 | 8 | public function __construct( |
|
44 | |||
45 | /** |
||
46 | * @return MethodCollection |
||
47 | */ |
||
48 | 8 | public function getCollection() |
|
52 | } |
||
53 |