vendor/liip/functional-test-bundle/src/LiipFunctionalTestBundle.php line 21

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * This file is part of the Liip/FunctionalTestBundle
  5.  *
  6.  * (c) Lukas Kahwe Smith <smith@pooteeweet.org>
  7.  *
  8.  * This source file is subject to the MIT license that is bundled
  9.  * with this source code in the file LICENSE.
  10.  */
  11. namespace Liip\FunctionalTestBundle;
  12. use Liip\FunctionalTestBundle\DependencyInjection\Compiler\OptionalValidatorPass;
  13. use Liip\FunctionalTestBundle\DependencyInjection\Compiler\SetTestClientPass;
  14. use Symfony\Component\DependencyInjection\ContainerBuilder;
  15. use Symfony\Component\HttpKernel\Bundle\Bundle;
  16. class LiipFunctionalTestBundle extends Bundle
  17. {
  18.     public function build(ContainerBuilder $container): void
  19.     {
  20.         $container->addCompilerPass(new SetTestClientPass());
  21.         $container->addCompilerPass(new OptionalValidatorPass());
  22.     }
  23. }