ReflectionProperty::isReadOnly
PHP function
Edit on GitHub ✎
(PHP 8 >= 8.1.0)
Checks if property is readonly
Description
ReflectionProperty::isReadOnly(): bool
Checks whether the property is readonly.
Parameters Parameters
Return Values
true if the property is readonly, false otherwise.
See Also
ReflectionProperty::isPublicReflectionProperty::isProtectedReflectionProperty::isPrivateReflectionProperty::isStatic