for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*******************************************************************************
* This file is part of the GraphQL Bundle package.
*
* (c) YnloUltratech <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
******************************************************************************/
namespace Ynlo\GraphQLBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Ynlo\GraphQLBundle\Component\TaggedServices\TaggedServicesCompilerPass;
use Ynlo\GraphQLBundle\DependencyInjection\YnloGraphQLExtension;
use Ynlo\GraphQLBundle\Type\TypeAutoLoader;
/**
* Class YnloGraphQLBundle
*/
class YnloGraphQLBundle extends Bundle
{
* {@inheritDoc}
public function boot()
$this->container->get(TypeAutoLoader::class)->autoloadTypes();
}
public function build(ContainerBuilder $container)
$container->addCompilerPass(new TaggedServicesCompilerPass());
public function getContainerExtension()
return new YnloGraphQLExtension();