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