downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ReflectionMethod::__toString> <ReflectionMethod::isStatic
[edit] Last updated: Fri, 30 Nov 2012

view this page in

ReflectionMethod::setAccessible

(PHP 5 >= 5.3.2)

ReflectionMethod::setAccessibleSet method accessibility

Opis

public void ReflectionMethod::setAccessible ( bool $accessible )

Sets a method to be accessible. For example, it may allow protected and private methods to be invoked.

Parametry

accessible

TRUE to allow accessibility, or FALSE.

Zwracane wartości

Nie jest zwracana żadna wartość.

Zobacz też:



add a note add a note User Contributed Notes ReflectionMethod::setAccessible - [1 notes]