ReflectionProperty::isReadOnly
(PHP 8 >= 8.1.0)
ReflectionProperty::isReadOnly — 检查属性是否为只读
参数
此函数没有参数。
参见
- ReflectionProperty::isPublic() - Checks if property is public
- ReflectionProperty::isProtected() - Checks if property is protected
- ReflectionProperty::isPrivate() - Checks if property is private
- ReflectionProperty::isStatic() - Checks if property is static
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/reflectionproperty.isreadonly.php