(PHP 5, PHP 7)
Gets an array of methods
public array ReflectionClass::getMethods ([ int $filter ] )
Gets an array of methods for the class.
Parameters:
filter
Filter the results to include only methods with certain attributes. Defaults to no filtering.
Any combination of ReflectionMethod::IS_STATIC, ReflectionMethod::IS_PUBLIC, ReflectionMethod::IS_PROTECTED, Reflection