doctrine / common

Doctrine Common
https://www.doctrine-project.org/projects/common.html
MIT License
5.78k stars 294 forks source link

DCOM-308: Create a Mapping Component #622

Open doctrinebot opened 8 years ago

doctrinebot commented 8 years ago

Jira issue originally created by user @ocramius:

All of the ORM/ODM projects currently rely on bi-directional mapping of:

Hibernate ORM seems to abstract this logic with a Property and a Column abstractions, each being a visitable DSL ( accept($value, $orm) , or similar).

This sort of DSL would be:

We could need a mapping component that allows mapping any map-alike data-structure to any php object graph.

doctrinebot commented 8 years ago