« ReflectionProperty::isPromoted
ReflectionProperty::isProtectedSet »

ReflectionProperty::isProtected

(PHP 5, PHP 7, PHP 8)

ReflectionProperty::isProtected — protected プロパティであるかどうかを調べる

説明

public function ReflectionProperty::isProtected(): bool

protected プロパティであるかどうかを調べます。

パラメータ

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

戻り値

protected プロパティである場合に true、それ以外の場合に false を返します。

注意:

これはデフォルトのアクセス権のみを参照します。set のアクセス権 は指定されていても無視されることに注意してください。

参考

関連キーワード:
ReflectionProperty   プロパティ   protected   isProtected   アクセス権   isPromoted   isProtectedSet   参考   isPublic   isPrivate   private   isReadOnly   readonly   isStatic   static
関連する関数・ページ:
reflectionproperty.isprotectedset   reflectionproperty.isprivate   reflectionproperty.isstatic   reflectionproperty.ispublic   reflectionproperty.isreadonly   reflectionproperty.isprivateset