ReflectionClass::getMethods

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

Description

public function getMethods(
  ?int $filter = null,
): array<ReflectionMethod>

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

Gets an array of methods for the class.

Parameters

  • ?int $filter = null

Return Values

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