<?php
declare(strict_types=1);
namespace Crea\Bundle\GridBundle;
use Crea\Bundle\GridBundle\DependencyInjection\Compiler\RegisterActionTypeCompilerPass;
use Crea\Bundle\GridBundle\DependencyInjection\Compiler\RegisterFieldTypeCompilerPass;
use Crea\Bundle\GridBundle\DependencyInjection\Compiler\RegisterFilterTypeCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Class CreaGridBundle.
*
* @author Jérôme Fath
*/
final class CreaGridBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container
->addCompilerPass(new RegisterActionTypeCompilerPass())
->addCompilerPass(new RegisterFieldTypeCompilerPass())
->addCompilerPass(new RegisterFilterTypeCompilerPass())
;
}
}