phpday 2027 - Call for Papers

ReflectionProperty::isReadOnly

(PHP 8 >= 8.1.0)

ReflectionProperty::isReadOnly — プロパティが readonly かを調べる

説明

public function ReflectionProperty::isReadOnly(): bool

プロパティが readonly かどうかを調べます。

パラメータ

この関数にはパラメータはありません。

戻り値

プロパティが readonly の場合は true を返します。 そうでない場合、false を返します。

参考

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top