ReflectionClass::getMethods

( excerpt from http://php

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

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.