ReflectionMethod::isProtected
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Checks if method is protected
Description
ReflectionMethod::isProtected(): bool
Checks if the method is protected.
Parameters Parameters
Return Values
true if the method is protected, otherwise false
See Also
ReflectionMethod::isPrivate