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