No, this should not be automatically set by the module, since it is a bad practice. Please inject your entity manager directly via `__construct()`