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