<?php
declare(strict_types=1);
/**
* @author Maciej Kaczmarek <maciej.kaczmarek@autentika.pl>
*/
namespace Hitso\Bundle\CommonBundle;
use Hitso\Bundle\CommonBundle\DependencyInjection\CompilerPass\AddLogFormattersPass;
use Hitso\Bundle\CommonBundle\DependencyInjection\CompilerPass\AddMailerTransformersPass;
use Hitso\Bundle\CommonBundle\DependencyInjection\CompilerPass\AddMediaUrlProvidersPass;
use Hitso\Bundle\CommonBundle\DependencyInjection\CompilerPass\GraphQLPass;
use Hitso\Bundle\CommonBundle\DependencyInjection\CompilerPass\OverrideServicesPass;
use Hitso\Bundle\CommonBundle\DependencyInjection\CompilerPass\RegisterClassMetadataEnhancerPass;
use Hitso\Bundle\CommonBundle\DependencyInjection\CompilerPass\RegisterEntityManagerPass;
use Hitso\Bundle\CommonBundle\DependencyInjection\CompilerPass\RegisterLoggableReverterPass;
use Hitso\Bundle\CommonBundle\DependencyInjection\CompilerPass\RegisterSystemConfiguratorPass;
use Hitso\Bundle\CommonBundle\DependencyInjection\CompilerPass\RegisterTraitGeneratorEnhancerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* @codeCoverageIgnore
*/
class HitsoCommonBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new AddLogFormattersPass());
$container->addCompilerPass(new AddMailerTransformersPass());
$container->addCompilerPass(new AddMediaUrlProvidersPass());
$container->addCompilerPass(new RegisterClassMetadataEnhancerPass());
$container->addCompilerPass(new RegisterTraitGeneratorEnhancerPass());
$container->addCompilerPass(new OverrideServicesPass());
$container->addCompilerPass(new RegisterEntityManagerPass());
$container->addCompilerPass(new RegisterLoggableReverterPass());
$container->addCompilerPass(new GraphQLPass());
}
}