vendor/easycorp/easyadmin-bundle/src/EasyAdminBundle.php line 23

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the EasyAdminBundle.
  4.  *
  5.  * (c) Javier Eguiluz <javier.eguiluz@gmail.com>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace EasyCorp\Bundle\EasyAdminBundle;
  11. use EasyCorp\Bundle\EasyAdminBundle\DependencyInjection\Compiler\EasyAdminConfigPass;
  12. use EasyCorp\Bundle\EasyAdminBundle\DependencyInjection\Compiler\EasyAdminFormTypePass;
  13. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  14. use Symfony\Component\DependencyInjection\ContainerBuilder;
  15. use Symfony\Component\HttpKernel\Bundle\Bundle;
  16. /**
  17.  * @author Maxime Steinhausser <maxime.steinhausser@gmail.com>
  18.  */
  19. class EasyAdminBundle extends Bundle
  20. {
  21.     const VERSION '1.17.24';
  22.     public function build(ContainerBuilder $container)
  23.     {
  24.         $container->addCompilerPass(new EasyAdminFormTypePass(), PassConfig::TYPE_BEFORE_REMOVING);
  25.         $container->addCompilerPass(new EasyAdminConfigPass());
  26.     }
  27. }
  28. class_alias('EasyCorp\Bundle\EasyAdminBundle\EasyAdminBundle''JavierEguiluz\Bundle\EasyAdminBundle\EasyAdminBundle'false);