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