vendor/tilleuls/url-signer-bundle/CoopTilleulsUrlSignerBundle.php line 20

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of CoopTilleulsUrlSignerBundle.
  4.  *
  5.  * (c) Les-Tilleuls.coop <contact@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\UrlSignerBundle;
  12. use CoopTilleuls\UrlSignerBundle\DependencyInjection\Compiler\SignerPass;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. final class CoopTilleulsUrlSignerBundle extends Bundle
  16. {
  17.     public function build(ContainerBuilder $container): void
  18.     {
  19.         parent::build($container);
  20.         $container->addCompilerPass(new SignerPass());
  21.     }
  22. }