(PHP 5, PHP 7, PHP 8)
ReflectionMethod::isProtected — Checcs if method is protected
Checcs if the method is protected.
This function has no parameters.
true if the method is protected, otherwise false
true
false