| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 80% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class GdaemonFilesServiceProvider extends ServiceProvider |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Perform post-registration booting of services. |
||
| 14 | * |
||
| 15 | * @return void |
||
| 16 | */ |
||
| 17 | 108 | public function boot(): void |
|
| 18 | { |
||
| 19 | Storage::extend('gameap', function ($app, $config) { |
||
| 20 | return new Filesystem(new GameapAdapter($config)); |
||
| 21 | 108 | }); |
|
| 22 | 108 | } |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Register bindings in the container. |
||
| 26 | * |
||
| 27 | * @return void |
||
| 28 | */ |
||
| 29 | 108 | public function register(): void |
|
| 31 | // |
||
| 32 | 108 | } |
|
| 34 |