ReflectionMethod
PHP Manual

ReflectionMethod::isPublic

(PHP 5)

ReflectionMethod::isPublicChecks if method is public

说明

public bool ReflectionMethod::isPublic ( void )

Checks if the method is public.

参数

此函数没有参数。

返回值

TRUE if the method is public, otherwise FALSE

参见


ReflectionMethod
PHP Manual