public static function valuesOf()
    {
        $enum   = new \ReflectionClass(get_called_class());
        $values = [];
        foreach ($enum->getStaticProperties() as $name => $instance) {
            $values[$name] = $instance->value;
        }

        return $values;
    }
public static function valuesOf()
    {
        $enum   = new \ReflectionClass(get_called_class());
        $values = [];
        foreach ($enum->getStaticProperties() as $name => $instance) {
            $values[$name] = $instance->value;
        }

        return $values;
    }
public static function valuesOf ( ) { $ enum = new \ ReflectionClass ( get_called_class ( ) ) ; $ values = [ ] ; foreach ( $ enum -> getStaticProperties ( ) as $ name => $ instance ) { $ values [ $ name ] = $ instance -> value ; } return $ values ; }
returns a list of values for given enum

@api
@return  mixed[]
returns a list of values for given enum