Bug #38216
Static method calls in reflected classes refer to _Original class
Status: | Needs Feedback | Start date: | 2012-06-20 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | Git master |
Description
Static method calls in reflected classes refers to the original class rather than the proxy. This gives issues in cases where "self" is used. fx. in Singleton style create methods.
Related issues
History
#1 Updated by Adrian Föder about 3 years ago
- Status changed from New to Needs Feedback
Christian, in these cases you have to use the "static" keyword, i.e. static::doSomething()
.
#2 Updated by Karsten Dambekalns over 2 years ago
- Affected Flow version changed from Git 1.2 (master) to Git master