|
@@ -14,14 +14,14 @@ use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Sonata\AdminBundle\DependencyInjection\Compiler\AddDependencyCallsCompilerPass;
|
|
use Sonata\AdminBundle\DependencyInjection\Compiler\AddDependencyCallsCompilerPass;
|
|
use Sonata\AdminBundle\DependencyInjection\Compiler\AddGuesserCompilerPass;
|
|
use Sonata\AdminBundle\DependencyInjection\Compiler\AddGuesserCompilerPass;
|
|
|
|
+use Sonata\AdminBundle\DependencyInjection\Compiler\AddFilterTypeCompilerPass;
|
|
|
|
|
|
class SonataAdminBundle extends Bundle
|
|
class SonataAdminBundle extends Bundle
|
|
{
|
|
{
|
|
public function build(ContainerBuilder $container)
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
{
|
|
- parent::build($container);
|
|
|
|
-
|
|
|
|
$container->addCompilerPass(new AddDependencyCallsCompilerPass());
|
|
$container->addCompilerPass(new AddDependencyCallsCompilerPass());
|
|
$container->addCompilerPass(new AddGuesserCompilerPass());
|
|
$container->addCompilerPass(new AddGuesserCompilerPass());
|
|
|
|
+ $container->addCompilerPass(new AddFilterTypeCompilerPass());
|
|
}
|
|
}
|
|
}
|
|
}
|