ReflectionMethod::getDeclaringClass

( excerpt from http://php

public function getDeclaringClass();

net/manual/en/reflectionmethod.getdeclaringclass.php )

Gets the declaring class for the reflected method.

Return Values

  • ReflectionClass - A ReflectionClass object of the class that the reflected method is part of.