vendor/mark-gerarts/automapper-plus-bundle/AutoMapperPlusBundle.php line 14

Open in your IDE?
  1. <?php
  2. namespace AutoMapperPlus\AutoMapperPlusBundle;
  3. use AutoMapperPlus\AutoMapperPlusBundle\DependencyInjection\Compiler\ConfigurationLoaderPass;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. /**
  7.  * Class AutoMapperPlusBundle
  8.  *
  9.  * @package AutoMapperPlus\AutoMapperPlusBundle
  10.  */
  11. class AutoMapperPlusBundle extends Bundle
  12. {
  13.     /**
  14.      * @inheritdoc
  15.      */
  16.     public function build(ContainerBuilder $container)
  17.     {
  18.         parent::build($container);
  19.         $container->addCompilerPass(new ConfigurationLoaderPass());
  20.     }
  21. }