MabeEnum\EnumSet::getValues PHP Method

getValues() public method

Get values of the defined enumerators as array
public getValues ( ) : null[] | bool[] | int[] | float[] | string[]
return null[] | bool[] | int[] | float[] | string[]
    public function getValues()
    {
        $enumeration = $this->enumeration;
        $values = array();
        foreach ($this->getOrdinals() as $ord) {
            $values[] = $enumeration::getByOrdinal($ord)->getValue();
        }
        return $values;
    }