digiaonline /
graphql-php
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Digia\GraphQL\Schema\Building; |
||
| 4 | |||
| 5 | use League\Container\ServiceProvider\AbstractServiceProvider; |
||
| 6 | |||
| 7 | class SchemaBuildingProvider extends AbstractServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | protected $provides = [ |
||
| 13 | SchemaBuilderInterface::class, |
||
| 14 | ]; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @inheritdoc |
||
| 18 | */ |
||
| 19 | public function register() |
||
| 20 | { |
||
| 21 | $this->container->add(SchemaBuilderInterface::class, SchemaBuilder::class); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 22 | } |
||
| 23 | } |
||
| 24 |