PHP implementation of Entity Data Model