src/Bundle/AbapNotifierBundle/src/AbapNotifierBundle.php line 12

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Abap\NotifierBundle;
  4. use Abap\NotifierBundle\DependencyInjection\Compiler\NotificationMethodCollectionPass;
  5. use Abap\NotifierBundle\DependencyInjection\Compiler\NotificationTypeCollectionPass;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. final class AbapNotifierBundle extends Bundle
  9. {
  10.     public function build(ContainerBuilder $container): void
  11.     {
  12.         parent::build($container);
  13.         $container->addCompilerPass(new NotificationMethodCollectionPass());
  14.         $container->addCompilerPass(new NotificationTypeCollectionPass());
  15.     }
  16. }