ReflectionClassConstant::isProtected

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::isProtectedChecks if class constant is protected

說明

public ReflectionClassConstant::isProtected(): bool

Checks if the class constant is protected.

參數(shù)

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

返回值

true if the class constant is protected, otherwise false

參見