src/Hitso/Bundle/SeoBundle/HitsoSeoBundle.php line 17

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Hitso\Bundle\SeoBundle;
  4. use Hitso\Bundle\SeoBundle\DependencyInjection\CompilerPass\RegisterJsonLinkingDataGeneratorPass;
  5. use Hitso\Bundle\SeoBundle\DependencyInjection\CompilerPass\SitemapProviderCompilerPass;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. /**
  9.  * Class HitsoSeoBundle
  10.  *
  11.  * @package Hitso\Bundle\SeoBundle
  12.  */
  13. class HitsoSeoBundle extends Bundle
  14. {
  15.     /**
  16.      * @param ContainerBuilder $container
  17.      */
  18.     public function build(ContainerBuilder $container)
  19.     {
  20.         parent::build($container);
  21.         $container->addCompilerPass(new RegisterJsonLinkingDataGeneratorPass());
  22.         $container->addCompilerPass(new SitemapProviderCompilerPass);
  23.     }
  24. }