custom/plugins/WbfkTimelineExtension/src/WbfkTimelineExtension.php line 13

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Wbfk\TimelineExtension;
  4. use Shopware\Core\Framework\Plugin;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Wbfk\TimelineExtension\DependencyInjection\BucsTimelineCommentDefinitionPass;
  7. use Wbfk\TimelineExtension\DependencyInjection\BucsTimelineCustomDefinitionPass;
  8. use Wbfk\TimelineExtension\DependencyInjection\OfferTimelineEntriesLoaderPass;
  9. class WbfkTimelineExtension extends Plugin
  10. {
  11.     public function build(ContainerBuilder $container): void
  12.     {
  13.         parent::build($container);
  14.         $container->addCompilerPass(new OfferTimelineEntriesLoaderPass());
  15.         $container->addCompilerPass(new BucsTimelineCommentDefinitionPass());
  16.         $container->addCompilerPass(new BucsTimelineCustomDefinitionPass());
  17.     }
  18. }