Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 50% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class RouterServiceProvider extends AbstractSignatureServiceProvider |
||
14 | { |
||
15 | use ServiceProvider\Traits\LoaderTrait; |
||
16 | use ServiceProvider\Traits\RouterTrait; |
||
17 | use ServiceProvider\Traits\RoutesTrait; |
||
18 | use ServiceProvider\Traits\UrlGeneratorTrait; |
||
19 | |||
20 | /** |
||
21 | * @inheritdoc |
||
22 | */ |
||
23 | public function provides() |
||
24 | { |
||
25 | return ['router', 'routing.loader', 'routes', 'url']; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | 3 | public function register() |
|
37 | 3 | } |
|
38 | |||
39 | protected function registerCommands() |
||
47 |