Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| ApieFileSystemServiceProvider | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | n/a |
0 / 0 |
|||
| register | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
| 1 | <?php |
| 2 | namespace Apie\ApieFileSystem; |
| 3 | |
| 4 | use Apie\ServiceProviderGenerator\UseGeneratedMethods; |
| 5 | use Illuminate\Support\ServiceProvider; |
| 6 | |
| 7 | /** |
| 8 | * This file is generated with apie/service-provider-generator from file: apie_file_system.yaml |
| 9 | * @codeCoverageIgnore |
| 10 | */ |
| 11 | class ApieFileSystemServiceProvider extends ServiceProvider |
| 12 | { |
| 13 | use UseGeneratedMethods; |
| 14 | |
| 15 | public function register() |
| 16 | { |
| 17 | $this->app->singleton( |
| 18 | \Apie\ApieFileSystem\ApieFilesystemFactory::class, |
| 19 | function ($app) { |
| 20 | return new \Apie\ApieFileSystem\ApieFilesystemFactory( |
| 21 | actionDefinitionProvider: $app->make(\Apie\Common\ActionDefinitionProvider::class), |
| 22 | boundedContextHashmap: $app->make(\Apie\Core\BoundedContext\BoundedContextHashmap::class) |
| 23 | ); |
| 24 | } |
| 25 | ); |
| 26 | |
| 27 | } |
| 28 | } |