ReflectionMethod
PHP Manual

ReflectionMethod::setAccessible

()

ReflectionMethod::setAccessibleSet method accessibility

説明

public void ReflectionMethod::setAccessible ( bool $accessible )

Sets a method to be accessible. For example, it may allow protected and private methods to be invoked.

パラメータ

accessible

TRUE to allow accessibility, or FALSE.

返り値

値を返しません。

参考


ReflectionMethod
PHP Manual