public function getNames(): array
    {
        $enumeration = $this->enumeration;
        $names       = [];
        foreach ($this->getOrdinals() as $ord) {
            $names[] = $enumeration::byOrdinal($ord)->getName();
        }
        return $names;
    }
public function getNames(): array
    {
        $enumeration = $this->enumeration;
        $names       = [];
        foreach ($this->getOrdinals() as $ord) {
            $names[] = $enumeration::byOrdinal($ord)->getName();
        }
        return $names;
    }
public function getNames ( ) : array { $ enumeration = $ this -> enumeration ; $ names = [ ] ; foreach ( $ this -> getOrdinals ( ) as $ ord ) { $ names [ ] = $ enumeration :: byOrdinal ( $ ord ) -> getName ( ) ; } return $ names ; }
Get names of the defined enumerators as array
@return string[]
Get names of the defined enumerators as array