Skip to content

Loading…

DDC-2523: Proxies and serializable #3246

Open
doctrinebot opened this Issue · 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.