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