CakeFest 2024: The Official CakePHP Conference

ReflectionMethod::isConstructor

(PHP 5, PHP 7, PHP 8)

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

説明

public ReflectionMethod::isConstructor(): bool

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

パラメータ

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

戻り値

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

参考

add a note

User Contributed Notes

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