SensioFrameworkExtraBundle.php 788B

1234567891011121314151617181920212223242526272829303132
  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\AddParamConverterPass;
  6. /*
  7. * This file is part of the Symfony framework.
  8. *
  9. * (c) Fabien Potencier <fabien@symfony.com>
  10. *
  11. * This source file is subject to the MIT license that is bundled
  12. * with this source code in the file LICENSE.
  13. */
  14. /**
  15. * SensioFrameworkExtraBundle.
  16. *
  17. * @author Fabien Potencier <fabien@symfony.com>
  18. */
  19. class SensioFrameworkExtraBundle extends Bundle
  20. {
  21. public function build(ContainerBuilder $container)
  22. {
  23. parent::build($container);
  24. $container->addCompilerPass(new AddParamConverterPass());
  25. }
  26. }