public static function getChoices()
    {
        $choices = [];
        foreach (static::getConfig() as $constant => $config) {
            $choices[$constant] = $config[0];
        }
        return $choices;
    }
public static function getChoices()
    {
        $choices = [];
        foreach (static::getConfig() as $constant => $config) {
            $choices[$constant] = $config[0];
        }
        return $choices;
    }
public static function getChoices ( ) { $ choices = [ ] ; foreach ( static :: getConfig ( ) as $ constant => $ config ) { $ choices [ $ constant ] = $ config [ 0 ] ; } return $ choices ; }
Returns the constant choices.

@return array
Returns the constant choices .