« ReflectionMethod::isAbstract
ReflectionMethod::isDestructor »

ReflectionMethod::isConstructor

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isConstructor — コンストラクタであるかどうかを調べる

説明

public function ReflectionMethod::isConstructor(): bool

コンストラクタであるかどうかを調べます。

パラメータ

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

戻り値

コンストラクタである場合に true、それ以外の場合に false を返します。

参考

関連キーワード:
ReflectionMethod   コンストラクタ   isConstructor   isAbstract   isDestructor   参考   construct   抽象   デストラクタ
関連する関数・ページ:
reflectionmethod.isdestructor   reflectionmethod.isabstract   reflectionmethod.ispublic   reflectionmethod.isfinal   reflectionmethod.export   reflectionmethod.isprivate