Updating NotificationManager so the doctrine entity manager is injected directly