Details

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

      Description

      Hi! Why Doctrine proxies classes extends object, instead of decorate it?
      I mean's this pattern http://en.wikipedia.org/wiki/Decorator_pattern.

        Activity

        Hide
        Christophe Coevoet added a comment -

        The proxy needs to extend the original class, otherwise it would not pass an instanceof check

        Show
        Christophe Coevoet added a comment - The proxy needs to extend the original class, otherwise it would not pass an instanceof check

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Nikita
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: