DDC-2523: Proxies and serializable #3246

Open
doctrinebot opened this Issue Jun 23, 2013 · 1 comment

2 participants

@doctrinebot

Jira issue originally created by user hell0w0rd:

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

@doctrinebot

Comment created by stof:

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

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment