vendor/sonata-project/seo-bundle/src/SonataSeoBundle.php line 24

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * This file is part of the Sonata Project package.
  5.  *
  6.  * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  7.  *
  8.  * For the full copyright and license information, please view the LICENSE
  9.  * file that was distributed with this source code.
  10.  */
  11. namespace Sonata\SeoBundle;
  12. use Sonata\SeoBundle\DependencyInjection\Compiler\BreadcrumbBlockServicesCompilerPass;
  13. use Sonata\SeoBundle\DependencyInjection\Compiler\ServiceCompilerPass;
  14. use Symfony\Component\DependencyInjection\ContainerBuilder;
  15. use Symfony\Component\HttpKernel\Bundle\Bundle;
  16. /**
  17.  * @final since sonata-project/seo-bundle 2.14
  18.  */
  19. class SonataSeoBundle extends Bundle
  20. {
  21.     public function build(ContainerBuilder $container)
  22.     {
  23.         parent::build($container);
  24.         $container->addCompilerPass(new BreadcrumbBlockServicesCompilerPass());
  25.         $container->addCompilerPass(new ServiceCompilerPass());
  26.     }
  27. }