vendor/bentools/webpush-bundle/src/WebPushBundle.php line 10

Open in your IDE?
  1. <?php
  2. namespace BenTools\WebPushBundle;
  3. use BenTools\WebPushBundle\DependencyInjection\WebPushCompilerPass;
  4. use BenTools\WebPushBundle\DependencyInjection\WebPushExtension;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. class WebPushBundle extends Bundle
  8. {
  9.     /**
  10.      * {@inheritdoc}
  11.      */
  12.     public function getContainerExtension()
  13.     {
  14.         return new WebPushExtension();
  15.     }
  16.     public function build(ContainerBuilder $container)
  17.     {
  18.         $container->addCompilerPass(new WebPushCompilerPass());
  19.     }
  20. }