vendor/eo/honeypot-bundle/Eo/HoneypotBundle/EoHoneypotBundle.php line 18

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the EoHoneypotBundle package.
  4.  *
  5.  * (c) Eymen Gunay <eymen@egunay.com>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace Eo\HoneypotBundle;
  11. use Eo\HoneypotBundle\DependencyInjection\Compiler\FormCompilerPass;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. class EoHoneypotBundle extends Bundle
  15. {
  16.     public function build(ContainerBuilder $container)
  17.     {
  18.         parent::build($container);
  19.         $container->addCompilerPass(new FormCompilerPass());
  20.     }
  21. }