vendor/ibexa/graphql/src/bundle/IbexaGraphQLBundle.php line 14

Open in your IDE?
  1. <?php
  2. /**
  3.  * @copyright Copyright (C) Ibexa AS. All rights reserved.
  4.  * @license For full copyright and license information view LICENSE file distributed with this source code.
  5.  */
  6. namespace Ibexa\Bundle\GraphQL;
  7. use Ibexa\Bundle\GraphQL\DependencyInjection\Compiler;
  8. use Ibexa\Bundle\GraphQL\DependencyInjection\IbexaGraphQLExtension;
  9. use Symfony\Component\DependencyInjection\ContainerBuilder;
  10. use Symfony\Component\HttpKernel\Bundle\Bundle;
  11. class IbexaGraphQLBundle extends Bundle
  12. {
  13.     public function build(ContainerBuilder $container)
  14.     {
  15.         parent::build($container);
  16.         $container->addCompilerPass(new Compiler\FieldInputHandlersPass());
  17.         $container->addCompilerPass(new Compiler\RichTextInputConvertersPass());
  18.         $container->addCompilerPass(new Compiler\SchemaWorkersPass());
  19.         $container->addCompilerPass(new Compiler\SchemaDomainIteratorsPass());
  20.     }
  21.     public function getContainerExtension()
  22.     {
  23.         return new IbexaGraphQLExtension();
  24.     }
  25. }
  26. class_alias(IbexaGraphQLBundle::class, 'EzSystems\EzPlatformGraphQL\EzSystemsEzPlatformGraphQLBundle');