diff --git a/reference/reflection/reflectionmethod/setaccessible.xml b/reference/reflection/reflectionmethod/setaccessible.xml new file mode 100644 index 0000000000..16abcdf4d4 --- /dev/null +++ b/reference/reflection/reflectionmethod/setaccessible.xml @@ -0,0 +1,75 @@ + + + + + + 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 + + + + + +