ReflectionClass::getMethods

( excerpt from http://php.net/manual/en/reflectionclass.getmethods.php )

public function getMethods(
  ?int $filter = NULL,
): varray<ReflectionMethod>;

Gets an array of methods for the class.

Parameters

  • ?int $filter = NULL

Returns

  • mixed - An array of ReflectionMethod objects reflecting each method.