Doctrine Common
  1. Doctrine Common
  2. DCOM-28

Extract Common Persistance Interfaces


    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:


      I discussed this with jwage on symfony day cologne and this also came up during discussions with @dzuelke at IPC yesterday. So i hacked up a first patch for discussion that adds a Doctrine\Common\Persistance namespace and extracts the functionality all our 3 layers implement with regards to EntityManager/EntityRepository (and equivalents).

      Additionally i think it might make sense to also add an interface "ObjectMetadata" that has several getters-only that allow access to the field, identifier and association mapping information. This stuff is not necessarly compatible across layers when returned as its "array" representation, but for libraries hooking into the metadata (symfony admin generator) this might not even be necessary.

        Issue Links


          Benjamin Eberlei created issue -
          Benjamin Eberlei made changes -
          Field Original Value New Value
          Link This issue is duplicated by DCOM-23 [ DCOM-23 ]
          Guilherme Blanco made changes -
          Assignee Roman S. Borschel [ romanb ] Jonathan H. Wage [ jwage ]
          Benjamin Eberlei made changes -
          Workflow jira [ 12002 ] jira-feedback2 [ 17854 ]
          Benjamin Eberlei made changes -
          Workflow jira-feedback2 [ 17854 ] jira-feedback3 [ 19817 ]
          Guilherme Blanco made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Jonathan H. Wage [ jwage ] Guilherme Blanco [ guilhermeblanco ]
          Resolution Fixed [ 1 ]


            • Assignee:
              Guilherme Blanco
              Benjamin Eberlei
            • Votes:
              0 Vote for this issue
              5 Start watching this issue


              • Created: