PHP - Manual: ReflectionProperty::isPublic
2024-11-23
(PHP 5, PHP 7, PHP 8)
ReflectionProperty::isPublic — Checks if property is public
Checks whether the property is public.
此函数没有参数。
true
if the property is public, false
otherwise.
官方地址:https://www.php.net/manual/en/reflectionproperty.ispublic.php