update doctrine bundle api call from getEntityManager() to getManager()