php8.5
Home/ Manual/ reflection / reflectionproperty/ ReflectionProperty::isPrivateSet

ReflectionProperty::isPrivateSet

PHP function Edit on GitHub ✎

(PHP 8 >= 8.4.0)

Checks if property is private for writing

Description

ReflectionProperty::isPrivateSet(): bool

Checks whether the property is private for writing.

Parameters Parameters

Return Values

true if the property is private(set), false otherwise.

See Also

  • ReflectionProperty::isPublic
  • ReflectionProperty::isProtected
  • ReflectionProperty::isProtectedSet
  • ReflectionProperty::isPrivate
  • ReflectionProperty::isReadOnly
  • ReflectionProperty::isStatic

Source: reference/reflection/reflectionproperty/isprivateset.xml · from the official PHP manual (php/doc-en)