vendor/umbrella2/adminbundle/src/UmbrellaAdminBundle.php line 9

Open in your IDE?
  1. <?php
  2. namespace Umbrella\AdminBundle;
  3. use Symfony\Component\DependencyInjection\ContainerBuilder;
  4. use Symfony\Component\HttpKernel\Bundle\Bundle;
  5. use Umbrella\AdminBundle\DependencyInjection\Compiler\UmbrellaNotificationPass;
  6. class UmbrellaAdminBundle extends Bundle
  7. {
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  11.     public function build(ContainerBuilder $container)
  12.     {
  13.         parent::build($container);
  14.         $container->addCompilerPass(new UmbrellaNotificationPass());
  15.     }
  16.     public function getPath(): string
  17.     {
  18.         return \dirname(__DIR__);
  19.     }
  20. }