update : 2015.11.03
php.shukuma.com

검색:
 
 
Set method accessibility

ReflectionMethod::setAccessible

(PHP 5 >= 5.3.2)

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.

반환값

값을 반환하지 않습니다.

참고