src/CSDT/CollectionsBundle/CSDTCollectionsBundle.php
public function build(ContainerBuilder $container)
    {
        parent::build($container);
        
        $container->addCompilerPass(new ManagerCompiler());
        $container->addCompilerPass(new HelperCompiler());
    }
public function build(ContainerBuilder $container)
    {
        parent::build($container);
        
        $container->addCompilerPass(new ManagerCompiler());
        $container->addCompilerPass(new HelperCompiler());
    }
Builds the bundle.

It is only ever called once when the cache is empty.

This method can be overridden to register compilation passes,
other extensions, ...

@param ContainerBuilder $container A ContainerBuilder instance

@return void