Checks whether the property is protected for writing

# ReflectionProperty::isProtectedSet

(PHP 8 >= 8.4.0)

ReflectionProperty::isProtectedSet — Checks whether the property is protected for writing

### 说明

public function ReflectionProperty::isProtectedSet(): bool

Checks whether the property is protected for writing.

### 参数

此函数没有参数。

### 返回值

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

### 参见

- ReflectionProperty::isPublic() - Checks if property is public
- ReflectionProperty::isProtected() - Checks if property is protected
- ReflectionProperty::isPrivate() - Checks if property is private
- ReflectionProperty::isPrivateSet() - Checks if property is private for writing
- ReflectionProperty::isReadOnly() - 检查属性是否为只读
- ReflectionProperty::isStatic() - Checks if property is static

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open