lphuberdeau / Neo4j-PHP-OGM

A doctrine2 style library to access neo4j graphs
156 stars 45 forks source link

Event Manager Improvements and Documentation #68

Closed frne closed 10 years ago

frne commented 10 years ago

@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

frne commented 10 years ago

@PetitPhilou Probably interesting for you ;)

philippemiguet commented 10 years ago

@frne Thanks! I'll play with it next week for sure !

philippemiguet commented 10 years ago

@frne again, thanks, it works perfectly :)

frne commented 10 years ago

@PetitPhilou You're welcome ;)