ReflectionMethod::setAccessible Set method accessibility &reftitle.description; public voidReflectionMethod::setAccessible boolaccessible Sets a method to be accessible. For example, it may allow protected and private methods to be invoked. &reftitle.parameters; accessible &true; to allow accessibility, or &false;. &reftitle.returnvalues; &return.void; &reftitle.seealso; ReflectionMethod::isPrivate ReflectionMethod::isProtected