ReflectionProperty::isPublic
(PHP 5, PHP 7)
ReflectionProperty::isPublic — Checks if property is public
说明
public ReflectionProperty::isPublic
( void
) : bool
Checks whether the property is public.
参数
此函数没有参数。
返回值
TRUE
if the property is public, FALSE
otherwise.
参见
- ReflectionProperty::isProtected() - Checks if property is protected
- ReflectionProperty::isPrivate() - Checks if property is private
- ReflectionProperty::isStatic() - Checks if property is static