ReflectionMethod::getPrototype

( excerpt from http://php.net/manual/en/reflectionmethod.getprototype.php )

public function getPrototype(): ReflectionMethod;

Returns the methods prototype.

Returns

  • object - A ReflectionMethod instance of the method prototype.