ReflectionProperty::isProtected
(PHP 5, PHP 7)
ReflectionProperty::isProtected — protected プロパティであるかどうかを調べる
説明
public ReflectionProperty::isProtected ( ) : bool
protected プロパティであるかどうかを調べます。
パラメータ
この関数にはパラメータはありません。
返り値
protected プロパティである場合に true
、それ以外の場合に false
を返します。
参考
- ReflectionProperty::isPublic() - public プロパティであるかどうかを調べる
- ReflectionProperty::isPrivate() - private プロパティであるかどうかを調べる
- ReflectionProperty::isStatic() - 静的プロパティであるかどうかを調べる