| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class JanitorServiceProvider extends ServiceProvider implements DeferrableProvider |
||
| 10 | { |
||
| 11 | public function boot() |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Register the service provider. |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function register() |
||
| 28 | { |
||
| 29 | $this->app->singleton(Factory::class, function ($app) { |
||
| 30 | return new JanitorManager($app); |
||
| 31 | }); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get the services provided by the provider. |
||
| 36 | * |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | public function provides() |
||
| 42 | } |
||
| 43 | } |
||
| 44 |