I'm trying to get the name of the method from the child class that called my method in the base class. How can I go about getting this?
class MyBaseClass {
protected static function mybasemethod() {
// how can I get the name of the method that called this?
// I'm looking for 'myothermethod'
}
}
class MyClassA extends MyBaseClass {
protected static function myothermethod() {
self::mybasemethod();
}
}