(PHP 5 >= 5.3.2, PHP 7)
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
.
No value is returned.