MabeEnum\Enum::getName PHP Method

getName() final public method

Get the name of the enumerator
final public getName ( ) : string
return string
    public final function getName()
    {
        return array_search($this->value, self::detectConstants(get_called_class()), true);
    }