Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
SchemaGeneratorServiceProvider | 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\SchemaGenerator; |
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: schema_generator.yaml |
9 | * @codeCoverageIgnore |
10 | */ |
11 | class SchemaGeneratorServiceProvider extends ServiceProvider |
12 | { |
13 | use UseGeneratedMethods; |
14 | |
15 | public function register() |
16 | { |
17 | $this->app->singleton( |
18 | \Apie\SchemaGenerator\ComponentsBuilderFactory::class, |
19 | function ($app) { |
20 | return call_user_func( |
21 | 'Apie\\SchemaGenerator\\ComponentsBuilderFactory::createComponentsBuilderFactory' |
22 | ); |
23 | |
24 | } |
25 | ); |
26 | |
27 | } |
28 | } |