[DebugBundle] enable the DumpDataCollectorPass

This commit is contained in:
Christian Flothmann 2014-12-17 21:23:23 +01:00
parent c18cb4c7b2
commit cdb6c43565

View File

@ -11,6 +11,8 @@
namespace Symfony\Bundle\DebugBundle;
use Symfony\Bundle\DebugBundle\DependencyInjection\Compiler\DumpDataCollectorPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\VarDumper\Dumper\CliDumper;
use Symfony\Component\VarDumper\VarDumper;
@ -39,4 +41,14 @@ class DebugBundle extends Bundle
});
}
}
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new DumpDataCollectorPass());
}
}