Exercise/FOQElasticaBundle — comment on commit ba976e3a419b94ea41a88696983afa9f566df976
File: Doctrine/RepositoryManager.php line 55
By stof:

why allowing such annotation only for the Doctrine manager ?

Doctrine Common is not tied to the Doctrine ORM or ODM and is a dependency of FrameworkBundle anyway (because of the annotation_reader service) so you could keep this logic for other implementations as well