vendor/solidworx/form-handler-bundle/src/FormHandlerBundle.php line 20

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