ReflectionMethod
PHP Manual

ReflectionMethod::setAccessible

(PHP 5 >= 5.3.2, PHP 7)

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