add search possibility throught all bundles, and remove deps between mainbundle and person bundle.

refs #223
This commit is contained in:
2014-11-25 14:49:15 +01:00
parent 27903423da
commit 51d6bed43d
11 changed files with 336 additions and 3 deletions

View File

@@ -3,7 +3,14 @@
namespace Chill\MainBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Chill\MainBundle\DependencyInjection\SearchableServicesCompilerPass;
class ChillMainBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new SearchableServicesCompilerPass());
}
}