<?php
/*
* This file is part of the DataGridBundle.
*
* (c) Abhoryo <abhoryo@free.fr>
* (c) Stanislav Turza
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace APY\DataGridBundle;
use APY\DataGridBundle\DependencyInjection\Compiler\GridExtensionPass;
use APY\DataGridBundle\DependencyInjection\Compiler\GridPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class APYDataGridBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new GridExtensionPass());
$container->addCompilerPass(new GridPass());
}
}