ReflectionProperty::isProtectedSet

(PHP 8 >= 8.4.0)

ReflectionProperty::isProtectedSetChecks whether the property is protected for writing

说明

public ReflectionProperty::isProtectedSet(): bool

Checks whether the property is protected for writing.

参数

此函数没有参数。

返回值

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

参见