vendor/stefandoorn/sitemap-plugin/src/SitemapPlugin.php line 12

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace SitemapPlugin;
  4. use SitemapPlugin\DependencyInjection\Compiler\SitemapProviderPass;
  5. use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. final class SitemapPlugin extends Bundle
  9. {
  10.     use SyliusPluginTrait;
  11.     /**
  12.      * @inheritdoc
  13.      */
  14.     public function build(ContainerBuilder $container): void
  15.     {
  16.         parent::build($container);
  17.         $container->addCompilerPass(new SitemapProviderPass());
  18.     }
  19. }