CakeFest 2024: The Official CakePHP Conference

ReflectionClassConstant::isProtected

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::isProtectedクラス定数が protected かを調べる

説明

public ReflectionClassConstant::isProtected(): bool

クラス定数が protected かを調べます。

パラメータ

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

戻り値

クラス定数が protected なら true を返します。 そうでなければ false を返します。

参考

add a note

User Contributed Notes

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