ReflectionClassConstant
PHP Manual

ReflectionClassConstant::isPublic

(PHP 7 >= 7.1.0)

ReflectionClassConstant::isPublicChecks if class constant is public

Description

public bool ReflectionClassConstant::isPublic ( void )

Checks if the class constant is public.

Parameters

This function has no parameters.

Return Values

TRUE if the class constant is public, otherwise FALSE

See Also


ReflectionClassConstant
PHP Manual