vendor/sulu/sulu/src/Sulu/Bundle/MarkupBundle/SuluMarkupBundle.php line 23

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of Sulu.
  4. *
  5. * (c) Sulu GmbH
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace Sulu\Bundle\MarkupBundle;
  11. use Sulu\Bundle\MarkupBundle\DependencyInjection\CompilerPass\TagCompilerPass;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. /**
  15. * Integrates markup into symfony.
  16. *
  17. * @final
  18. */
  19. class SuluMarkupBundle extends Bundle
  20. {
  21. /**
  22. * @internal
  23. */
  24. public function build(ContainerBuilder $container): void
  25. {
  26. parent::build($container);
  27. $container->addCompilerPass(new TagCompilerPass());
  28. }
  29. }