ReflectionProperty::isProtected

(PHP 5, PHP 7, PHP 8)

ReflectionProperty::isProtectedChecks if property is protected

說明

public ReflectionProperty::isProtected(): bool

Checks whether the property is protected.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

true if the property is protected, false otherwise.

參見