Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2694

Hydrating with entities with the NEW operator

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Git Master
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      It would be nice if the new function accepted objects as parameters, like this:

      new Country(country, some_extra_stuff)
      

      Alternatively another keyword could be introduced that constructs the object with the parameter and afterwards hydrates it.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              Flip
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: