(PHP 5 >= 5.3.2)
ReflectionMethod::setAccessible — Set method accessibility
$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
.
没有返回值。