ReflectionClassConstant
PHP Manual

ReflectionClassConstant::getName

(PHP 7 >= 7.1.0)

ReflectionClassConstant::getNameGet name of the constant

Description

public string ReflectionClassConstant::getName ( void )

Parameters

This function has no parameters.

Return Values

Returns the constant's name.


ReflectionClassConstant
PHP Manual