final public function name(): string
    {
        if ($this->name === null) {
            $constants = self::getMembers();
            $this->name = array_search($this->value, $constants, true);
        }

        return $this->name;
    }
final public function name(): string
    {
        if ($this->name === null) {
            $constants = self::getMembers();
            $this->name = array_search($this->value, $constants, true);
        }

        return $this->name;
    }
final public function name ( ) : string { if ( $ this -> name === null ) { $ constants = self :: getMembers ( ) ; $ this -> name = array_search ( $ this -> value , $ constants , true ) ; } return $ this -> name ; }
Retrieves the enum constant name

@return string
Retrieves the enum constant name