Removed the old system with the compiler pass and event listener
on kernel as it should be a doctrine event and use entity listeners
instead
Changed the definition of managers as it was causing a circular
reference when decorating the entity manager
Due to the problem above, the interface has been renamed consequently
Added tests for managers and entity listeners
Renamed NonPersistentManagerInterface::delete() to ::remove(): although the naming becomes inconsistent in the UserManager as the parent method is ::deleteUser(), it makes more sense as
Doctrine event system is using the "remove" keyword.
NonPersistentManagerInterface::delete()
to::remove()
: although the naming becomes inconsistent in theUserManager
as the parent method is::deleteUser()
, it makes more sense as Doctrine event system is using the "remove" keyword.