vendor/sensio/framework-extra-bundle/SensioFrameworkExtraBundle.php line 25

Open in your IDE?
  1. <?php
  2. namespace Sensio\Bundle\FrameworkExtraBundle;
  3. use Symfony\Component\HttpKernel\Bundle\Bundle;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Sensio\Bundle\FrameworkExtraBundle\DependencyInjection\Compiler\AddExpressionLanguageProvidersPass;
  6. use Sensio\Bundle\FrameworkExtraBundle\DependencyInjection\Compiler\AddParamConverterPass;
  7. use Sensio\Bundle\FrameworkExtraBundle\DependencyInjection\Compiler\LegacyPass;
  8. /*
  9.  * This file is part of the Symfony framework.
  10.  *
  11.  * (c) Fabien Potencier <fabien@symfony.com>
  12.  *
  13.  * This source file is subject to the MIT license that is bundled
  14.  * with this source code in the file LICENSE.
  15.  */
  16. /**
  17.  * SensioFrameworkExtraBundle.
  18.  *
  19.  * @author     Fabien Potencier <fabien@symfony.com>
  20.  */
  21. class SensioFrameworkExtraBundle extends Bundle
  22. {
  23.     public function build(ContainerBuilder $container)
  24.     {
  25.         parent::build($container);
  26.         $container->addCompilerPass(new AddParamConverterPass());
  27.         $container->addCompilerPass(new LegacyPass());
  28.         $container->addCompilerPass(new AddExpressionLanguageProvidersPass());
  29.     }
  30. }