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\ElFinderConfigurationPass;
  4. use FM\ElfinderBundle\DependencyInjection\Compiler\TwigFormPass;
  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): void
  13.     {
  14.         parent::build($container);
  15.         $container->addCompilerPass(new TwigFormPass());
  16.         $container->addCompilerPass(new ElFinderConfigurationPass());
  17.     }
  18. }