ReflectionClass
PHP Manual

ReflectionClass::getMethods

(PHP 5)

ReflectionClass::getMethodsGets a list of methods

说明

public array ReflectionClass::getMethods ([ string $filter ] )

Gets a list of methods.

Warning

本函数还未编写文档,仅有参数列表。

参数

filter

Any combination of ReflectionMethod::IS_STATIC, ReflectionMethod::IS_PUBLIC, ReflectionMethod::IS_PROTECTED, ReflectionMethod::IS_PRIVATE, ReflectionMethod::IS_ABSTRACT, ReflectionMethod::IS_FINAL.

返回值

An array of methods.

参见


ReflectionClass
PHP Manual