vendor/se7enxweb/site-legacy-bundle/bundle/NetgenSiteLegacyBundle.php line 11

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Netgen\Bundle\SiteLegacyBundle;
  4. use Netgen\Bundle\SiteLegacyBundle\DependencyInjection\Compiler;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. class NetgenSiteLegacyBundle extends Bundle
  8. {
  9. public function build(ContainerBuilder $container): void
  10. {
  11. $container->addCompilerPass(new Compiler\ImageVariationPass());
  12. $container->addCompilerPass(new Compiler\PublicServicesPass());
  13. $container->addCompilerPass(new Compiler\TwigEnvironmentPass());
  14. $container->addCompilerPass(new Compiler\XmlTextFieldTypePass());
  15. }
  16. }