vendor/contao-bootstrap/core/src/ContaoBootstrapCoreBundle.php line 28

Open in your IDE?
  1. <?php
  2. /**
  3.  * Contao Bootstrap
  4.  *
  5.  * @package    contao-bootstrap
  6.  * @subpackage Core
  7.  * @author     David Molineus <david.molineus@netzmacht.de>
  8.  * @copyright  2017 netzmacht David Molineus. All rights reserved.
  9.  * @license    LGPL-3.0 https://github.com/contao-bootstrap/core
  10.  * @filesource
  11.  */
  12. declare(strict_types=1);
  13. namespace ContaoBootstrap\Core;
  14. use ContaoBootstrap\Core\DependencyInjection\ConfigPass;
  15. use ContaoBootstrap\Core\DependencyInjection\TemplateFilterPass;
  16. use Symfony\Component\DependencyInjection\ContainerBuilder;
  17. use Symfony\Component\HttpKernel\Bundle\Bundle;
  18. /**
  19.  * Class ContaoBootstrapCoreBundle.
  20.  *
  21.  * @package ContaoBootstrap\Core
  22.  */
  23. class ContaoBootstrapCoreBundle extends Bundle
  24. {
  25.     /**
  26.      * {@inheritdoc}
  27.      */
  28.     public function build(ContainerBuilder $container)
  29.     {
  30.         $container->addCompilerPass(new ConfigPass());
  31.         $container->addCompilerPass(new TemplateFilterPass());
  32.     }
  33. }