Open doctrinebot opened 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).
Property
Column
accept($value, $orm)
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.
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 aColumn
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.