« ReflectionMethod::isFinal
ReflectionMethod::isProtected »

ReflectionMethod::isPrivate

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isPrivate — private メソッドであるかどうかを調べる

説明

public function ReflectionMethod::isPrivate(): bool

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

パラメータ

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

戻り値

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

参考

関連キーワード:
ReflectionMethod   private   isPrivate   isFinal   isProtected   参考   isPublic
関連する関数・ページ:
reflectionmethod.ispublic   reflectionmethod.isprotected   reflectionmethod.isfinal   reflectionmethod.isconstructor   reflectionmethod.setaccessible   reflectionmethod.export