mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-700: Proxy class is created for MappedSuperclass class #861
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jul 20, 2010).
Jira issue originally created by user gedrox:
When having abstract class as Mapped Superclass the proxy class is created without the "abstract" keyword which raises fatal PHP error "Class %proxyClassName% contains 1 abstract method and must therefore be declared abstract or implement the remaining methods" when read.
I think there is no need to generate the proxy classes for classes marked as @MappedSuperclass at all.
@doctrinebot commented on GitHub (Jul 20, 2010):
Comment created by gedrox:
Patch which adds the "abstract" keyword for problematic proxies
@doctrinebot commented on GitHub (Aug 8, 2010):
Comment created by @beberlei:
Fixed, skip generation of proxies for mapped superclasses.
@doctrinebot commented on GitHub (Aug 8, 2010):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 1 attachments from Jira into https://gist.github.com/29dadeb0e85fff8e66bf