vendor/twig/extra-bundle/TwigExtraBundle.php line 18

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of Twig.
  4. *
  5. * (c) Fabien Potencier
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Twig\Extra\TwigExtraBundle;
  11. use Symfony\Component\DependencyInjection\ContainerBuilder;
  12. use Symfony\Component\HttpKernel\Bundle\Bundle;
  13. use Twig\Extra\TwigExtraBundle\DependencyInjection\Compiler\MissingExtensionSuggestorPass;
  14. class TwigExtraBundle extends Bundle
  15. {
  16. /** @return void */
  17. public function build(ContainerBuilder $container)
  18. {
  19. parent::build($container);
  20. $container->addCompilerPass(new MissingExtensionSuggestorPass());
  21. }
  22. }