I\'d like to use, something like:
$em = $this->getEntityManager();
Inside a Entity.
I understand I should do this as a s
Calling the Entity Manager from inside an Entity is a bad practice! You should keep your entities as simple as possible.
For what purpose do you need to call the Entity Manager from an Entity?