ReflectionClassConstant::isPublic
(PHP 7 >= 7.1.0)
ReflectionClassConstant::isPublic — Checks if class constant is public
説明
public ReflectionClassConstant::isPublic
( void
) : bool
Checks if the class constant is public.
パラメータ
この関数にはパラメータはありません。
返り値
TRUE if the class constant is public, otherwise FALSE
参考
- ReflectionClassConstant::isPrivate() - Checks if class constant is private
- ReflectionClassConstant::isProtected() - Checks if class constant is protected