Closed lisachenko closed 4 years ago
Currently ReflectionClass->addMethod() doesn't adjust the scope of method created from closure to the class itself, thus no access to the private/protected members.
ReflectionClass->addMethod()
Currently
ReflectionClass->addMethod()
doesn't adjust the scope of method created from closure to the class itself, thus no access to the private/protected members.