php[world] 2019 — 25 years of PHP


(PHP 5, PHP 7)

ReflectionMethod::isProtectedChecks if method is protected


public ReflectionMethod::isProtected ( void ) : bool

Checks if the method is protected.


This function has no parameters.

Return Values

TRUE if the method is protected, otherwise FALSE

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top