ReflectionProperty::getDeclaringClass

(PHP 5, PHP 7, PHP 8)

ReflectionProperty::getDeclaringClass宣言しているクラスを取得する

説明

publicReflectionProperty::getDeclaringClass(): ReflectionClass

宣言しているクラスを取得します。

パラメータ

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

戻り値

ReflectionClass オブジェクトを返します。

参考

To Top