vendor/apy/datagrid-bundle/APYDataGridBundle.php line 20

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the DataGridBundle.
  4.  *
  5.  * (c) Abhoryo <abhoryo@free.fr>
  6.  * (c) Stanislav Turza
  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 APY\DataGridBundle;
  12. use APY\DataGridBundle\DependencyInjection\Compiler\GridExtensionPass;
  13. use APY\DataGridBundle\DependencyInjection\Compiler\GridPass;
  14. use Symfony\Component\DependencyInjection\ContainerBuilder;
  15. use Symfony\Component\HttpKernel\Bundle\Bundle;
  16. class APYDataGridBundle extends Bundle
  17. {
  18.     public function build(ContainerBuilder $container)
  19.     {
  20.         parent::build($container);
  21.         $container->addCompilerPass(new GridExtensionPass());
  22.         $container->addCompilerPass(new GridPass());
  23.     }
  24. }