using xpath to find all setEntityNamespaces calls and allow ObjectManager::getRepository calls