Uploaded image for project: 'Doctrine Common'
  1. Doctrine Common
  2. DCOM-189

Doctrine Proxies may conflict with interfaced constructors

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      The Doctrine ProxyGenerator generates for a proxy a constructor. The documentation of Doctrine states that the constructor is never called. For a project, I created a group of entities with a interfaced constructor in order to enforce a common interface. This results in a incompatible proxy and so a fatal error.

        Activity

          People

          • Assignee:
            ocramius Marco Pivetta
            Reporter:
            harmenm Harmen M
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: