Note that the public member $class contains the name of the class in which the method has been defined:<?phpclass A {public function __construct() {}}class B extends A {}$method = new ReflectionMethod('B', '__construct');echo $method->class; // prints 'A'?>