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

ReflectionProperty::isProtectedSet

PHP function Edit on GitHub ✎

(PHP 8 >= 8.4.0)

Checks whether the property is protected for writing

Description

ReflectionProperty::isProtectedSet(): bool

Checks whether the property is protected for writing.

Parameters Parameters

Return Values

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

See Also

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

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