If you haven’t already seen this, the Doctrine manual now has a section on PHPDriver:
The manual is updated quite often, so keep checking for new topics. You can also directly refer to the API documentation:
The general terminology and conventions used by all matching drivers are the same, so the main ideas should be translated. This is probably the syntax that will touch you.
I also recommend that you study the XML driver. With a good IDE, you can get confirmation and auto-completion through the xsd file, which will simplify the work. Manually writing PHP mappings personally amazes me as a bit time consuming.
source
share