« ReflectionMethod::isPrivate
ReflectionMethod::isPublic »

ReflectionMethod::isProtected

(PHP 5, PHP 7, PHP 8)

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

説明

public function ReflectionMethod::isProtected(): bool

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

パラメータ

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

戻り値

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

参考

関連キーワード:
ReflectionMethod   protected   isProtected   isPrivate   isPublic
関連する関数・ページ:
reflectionmethod.isprivate   reflectionmethod.ispublic   reflectionmethod.setaccessible   reflectionmethod.tostring   reflectionmethod.isfinal   reflectionmethod.export