vendor/helios-ag/fm-elfinder-bundle/src/FMElfinderBundle.php line 13

Open in your IDE?
  1. <?php
  2. namespace FM\ElfinderBundle;
  3. use FM\ElfinderBundle\DependencyInjection\Compiler\TwigFormPass;
  4. use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. /**
  8.  * Class FMElfinderBundle.
  9.  */
  10. class FMElfinderBundle extends Bundle
  11. {
  12.     public function build(ContainerBuilder $container)
  13.     {
  14.         parent::build($container);
  15.         $container->addCompilerPass(new TwigFormPass());
  16.         $container->addCompilerPass(new RegisterListenersPass('event_dispatcher''fm_elfinder.event_listener''fm_elfinder.event_subscriber'));
  17.     }
  18. }