vendor/ibexa/seo/src/bundle/IbexaSeoBundle.php line 15

Open in your IDE?
  1. <?php
  2. /**
  3.  * @copyright Copyright (C) Ibexa AS. All rights reserved.
  4.  * @license For full copyright and license information view LICENSE file distributed with this source code.
  5.  */
  6. declare(strict_types=1);
  7. namespace Ibexa\Bundle\Seo;
  8. use Ibexa\Bundle\Seo\DependencyInjection\Configuration\Parser\SeoConfigParser;
  9. use Symfony\Component\DependencyInjection\ContainerBuilder;
  10. use Symfony\Component\HttpKernel\Bundle\Bundle;
  11. final class IbexaSeoBundle extends Bundle
  12. {
  13.     public function build(ContainerBuilder $container): void
  14.     {
  15.         /** @var \Ibexa\Bundle\Core\DependencyInjection\IbexaCoreExtension $core */
  16.         $core $container->getExtension('ibexa');
  17.         $core->addConfigParser(new SeoConfigParser());
  18.     }
  19. }