@lphuberdeau sorry for being so late with another PR... It contains improved events and some general simplifications including full-blown documentation ;)
Doctrine-Style event namings
I have renamed existing events and added some new ones, to go as near as possible with the Doctrine ORM Events. The following events are available, working and tested:
Btw. I moved some tests out of the EntityManagerTest to the newly created EventManagerTest to keep it clean...
Documentation
I started writing a documentation describing the usage of the doctrine events. IMHO, this would blow the readme.md and kill readability. Therefore, i created a doc directory. There is some different documentation. I would find it nice, if we can present the readme.md as "overview at a glace" and keep it short. Therefore, I moved also some existing documentation to the doc directory...
@lphuberdeau sorry for being so late with another PR... It contains improved events and some general simplifications including full-blown documentation ;)
Doctrine-Style event namings
I have renamed existing events and added some new ones, to go as near as possible with the Doctrine ORM Events. The following events are available, working and tested:
Btw. I moved some tests out of the EntityManagerTest to the newly created EventManagerTest to keep it clean...
Documentation
I started writing a documentation describing the usage of the doctrine events. IMHO, this would blow the readme.md and kill readability. Therefore, i created a doc directory. There is some different documentation. I would find it nice, if we can present the readme.md as "overview at a glace" and keep it short. Therefore, I moved also some existing documentation to the doc directory...
Also added documentation for events and annotations.
This is a follow-up for #58 and #65