vendor/mopa/bootstrap-bundle/MopaBootstrapBundle.php line 18

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of the MopaBootstrapBundle.
  4. *
  5. * (c) Philipp A. Mohrenweiser <phiamo@googlemail.com>
  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 Mopa\Bundle\BootstrapBundle;
  11. use Mopa\Bundle\BootstrapBundle\DependencyInjection\Compiler\FormPass;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. class MopaBootstrapBundle extends Bundle
  15. {
  16. /**
  17. * {@inheritdoc}
  18. */
  19. public function build(ContainerBuilder $container): void
  20. {
  21. parent::build($container);
  22. $container->addCompilerPass(new FormPass());
  23. }
  24. }