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