ReflectionClass::getMethod

( excerpt from http://php

public function getMethod(
  string $name,
): ReflectionMethod;

net/manual/en/reflectionclass.getmethod.php )

Gets a ReflectionMethod for a class method.

Parameters

  • string $name

Return Values

  • mixed - A ReflectionMethod.