Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 75% |
Changes | 2 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
11 | class ViewServiceProvider extends AbstractServiceProvider |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * Register the service provider. |
||
16 | * |
||
17 | * @return void |
||
18 | */ |
||
19 | 1 | public function register() |
|
22 | 1 | } |
|
23 | |||
24 | 1 | public function registerFactory() |
|
25 | { |
||
26 | 1 | $this->getContainer()->singleton('view.factory', ViewFactory::class); |
|
|
|||
27 | 1 | } |
|
28 | |||
29 | |||
30 | /** |
||
31 | * @inheritdoc |
||
32 | */ |
||
33 | public function provides() |
||
36 | } |
||
37 | } |
||
38 |