Exercise/FOQElasticaBundle — pull request #39 by richardmiller (2011-11-17 11:33:12+00:00)
Title: Added Doctrine style BundleAliasName:EntityName shortcut for getting rep...

...ositories

I have added separate managers for orm and mongodb as there could be naming collisions otherwise.

The various managers are now available as different services:

The manager that does not provide this functionality is still available as a service ```foq_elastica.manager.basic```, the orm one as ```foq_elastica.manager.orm``` and MongoDB as ```foq_elastica.manager.mongodb```. Which ever is in use is aliased as ```foq_elastica.manager```. If both mongodb and orm entities are being mapped then ```foq_elastica.manager.orm``` is aliased to ```foq_elastica.manager``` and the MongoDB manager has to be accessed using ``foq_elastica.manager.mongodb```