for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Digia\GraphQL\Schema\Building;
use Digia\GraphQL\Schema\DefinitionBuilderCreatorInterface;
use League\Container\ServiceProvider\AbstractServiceProvider;
class SchemaBuildingProvider extends AbstractServiceProvider
{
/**
* @var array
*/
protected $provides = [
SchemaBuilderInterface::class,
];
* @inheritdoc
public function register()
$this->container->add(BuilderContextCreatorInterface::class, BuilderContextCreator::class)
->withArgument(DefinitionBuilderCreatorInterface::class);
$this->container->add(SchemaBuilderInterface::class, SchemaBuilder::class)
->withArgument(BuilderContextCreatorInterface::class);
}