vendor/lexik/form-filter-bundle/LexikFormFilterBundle.php line 12

Open in your IDE?
  1. <?php
  2. namespace Lexik\Bundle\FormFilterBundle;
  3. use Lexik\Bundle\FormFilterBundle\DependencyInjection\Compiler\FormDataExtractorPass;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. /**
  7.  * @author Cédric Girard <[email protected]>
  8.  */
  9. class LexikFormFilterBundle extends Bundle
  10. {
  11.     /**
  12.      * {@inheritdoc}
  13.      */
  14.      public function build(ContainerBuilder $container)
  15.      {
  16.          parent::build($container);
  17.          $container->addCompilerPass(new FormDataExtractorPass());
  18.      }
  19. }