vendor/tilleuls/forgot-password-bundle/CoopTilleulsForgotPasswordBundle.php line 23

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the CoopTilleulsForgotPasswordBundle package.
  4.  *
  5.  * (c) Vincent Chalamon <vincent@les-tilleuls.coop>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. declare(strict_types=1);
  11. namespace CoopTilleuls\ForgotPasswordBundle;
  12. use CoopTilleuls\ForgotPasswordBundle\DependencyInjection\CompilerPass\ApiPlatformCompilerPass;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. /**
  16.  * @author Vincent Chalamon <vincent@les-tilleuls.coop>
  17.  */
  18. final class CoopTilleulsForgotPasswordBundle extends Bundle
  19. {
  20.     public function build(ContainerBuilder $container): void
  21.     {
  22.         $container->addCompilerPass(new ApiPlatformCompilerPass());
  23.     }
  24. }