vendor/netzmacht/contao-form-designer/src/NetzmachtContaoFormDesignerBundle.php line 25

Open in your IDE?
  1. <?php
  2. /**
  3.  * Contao Form Designer.
  4.  *
  5.  * @package    contao-form-designer
  6.  * @author     David Molineus <david.molineus@netzmacht.de>
  7.  * @copyright  2017 netzmacht David Molineus. All rights reserved.
  8.  * @license    LGPL 3.0
  9.  * @filesource
  10.  */
  11. declare(strict_types=1);
  12. namespace Netzmacht\Contao\FormDesigner;
  13. use Netzmacht\Contao\FormDesigner\DependencyInjection\FormLayoutFactoryCompilerPass;
  14. use Symfony\Component\DependencyInjection\ContainerBuilder;
  15. use Symfony\Component\HttpKernel\Bundle\Bundle;
  16. /**
  17.  * Bundle class of the contao form designer.
  18.  */
  19. class NetzmachtContaoFormDesignerBundle extends Bundle
  20. {
  21.     /**
  22.      * {@inheritdoc}
  23.      */
  24.     public function build(ContainerBuilder $container)
  25.     {
  26.         $container->addCompilerPass(new FormLayoutFactoryCompilerPass());
  27.     }
  28. }