ReflectionClassConstant
PHP Manual

ReflectionClassConstant::isProtected

(PHP 7 >= 7.1.0)

ReflectionClassConstant::isProtectedChecks if class constant is protected

Description

public bool ReflectionClassConstant::isProtected ( void )

Checks if the class constant is protected.

Parameters

This function has no parameters.

Return Values

TRUE if the class constant is protected, otherwise FALSE

See Also


ReflectionClassConstant
PHP Manual