src/Hitso/Bundle/TranslationBundle/HitsoTranslationBundle.php line 16

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4.  * @author Maciej Kaczmarek <maciej.kaczmarek@autentika.pl>
  5.  */
  6. namespace Hitso\Bundle\TranslationBundle;
  7. use Hitso\Bundle\TranslationBundle\DependencyInjection\Compiler\InjectRepositoryLoaderPass;
  8. use Symfony\Component\DependencyInjection\ContainerBuilder;
  9. use Symfony\Component\HttpKernel\Bundle\Bundle;
  10. /**
  11.  * @codeCoverageIgnore
  12.  */
  13. class HitsoTranslationBundle extends Bundle
  14. {
  15.     /**
  16.      * {@inheritdoc}
  17.      */
  18.     public function build(ContainerBuilder $container)
  19.     {
  20.         $container->addCompilerPass(new InjectRepositoryLoaderPass());
  21.     }
  22. }