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

  1. <?php
  2. namespace EasyCorp\Bundle\EasyAdminBundle;
  3. use EasyCorp\Bundle\EasyAdminBundle\DependencyInjection\CreateControllerRegistriesPass;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. /**
  7.  * @author Maxime Steinhausser <maxime.steinhausser@gmail.com>
  8.  */
  9. class EasyAdminBundle extends Bundle
  10. {
  11.     public const VERSION '4.11.1';
  12.     public function build(ContainerBuilder $container): void
  13.     {
  14.         $container->addCompilerPass(new CreateControllerRegistriesPass());
  15.     }
  16. }