Given
abstract class A {
public function __get($key) {
...
}
}
class B extends A {
public function __get($key) {
...
}
}
class C {
public function test($bObject) {
//Call the __get function of A on the object of B
}
}
How would I call A::__get on an object of B from C::test? I've looked into using a callable on class A::__get and binding it to the object of class B, or using parent, but neither of those methods seem to help.