Forum PHP 2025

ReflectionProperty::isPrivateSet

(PHP 8 >= 8.4.0)

ReflectionProperty::isPrivateSetプロパティが書き込みについて private かどうかを調べる

説明

public ReflectionProperty::isPrivateSet(): bool

プロパティが書き込みについて private かどうかを調べます。

パラメータ

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

戻り値

プロパティが private(set) の場合 true を返します。 そうでない場合、false を返します。

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top