removed getDoctrineManager (deprecated) for getManager