you should also support ``\\Doctrine\\Common\\Persistence\\ObjectManager::getRepository`` for people getting the repository from the EntityManager