PHP 8.5.0 RC4 available for testing

ReflectionMethod::isPrivate

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isPrivateprivate メソッドであるかどうかを調べる

説明

public ReflectionMethod::isPrivate(): bool

private メソッドであるかどうかを調べます。

パラメータ

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

戻り値

private メソッドである場合に true 、それ以外の場合に false を返します。

参考

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /