ReflectionClassConstant::isProtected
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.1.0, PHP 8)
Checks if class constant is protected
Description
ReflectionClassConstant::isProtected(): bool
Checks if the class constant is protected.
Parameters Parameters
Return Values
true if the class constant is protected, otherwise false
See Also
ReflectionClassConstant::isFinalReflectionClassConstant::isPublicReflectionClassConstant::isPrivate