public static function getAllFeatures()
    {
        $features = config('laraplans.features');

        if (!$features) {
            return [];
        }

        $codes = [];

        foreach ($features as $key => $value) {
            if (is_string($value)) {
                $codes[] = $value;
            } else {
                $codes[] = $key;
            }
        }

        return $codes;
    }
public static function getAllFeatures()
    {
        $features = config('laraplans.features');

        if (!$features) {
            return [];
        }

        $codes = [];

        foreach ($features as $key => $value) {
            if (is_string($value)) {
                $codes[] = $value;
            } else {
                $codes[] = $key;
            }
        }

        return $codes;
    }
public static function getAllFeatures ( ) { $ features = config ( 'laraplans.features' ) ; if ( ! $ features ) { return [ ] ; } $ codes = [ ] ; foreach ( $ features as $ key => $ value ) { if ( is_string ( $ value ) ) { $ codes [ ] = $ value ; } else { $ codes [ ] = $ key ; } } return $ codes ; }
Get all features listed in config file.

@return array
Get all features listed in config file .