public static function get(string $type): AbstractReader
    {
        if (!\array_key_exists($type, static::$invokableClasses)) {
            throw new InvalidArgumentException('Unsupported config file type: '.$type);
        }

        return new static::$invokableClasses[$type];
    }
public static function get(string $type): AbstractReader
    {
        if (!\array_key_exists($type, static::$invokableClasses)) {
            throw new InvalidArgumentException('Unsupported config file type: '.$type);
        }

        return new static::$invokableClasses[$type];
    }
public static function get ( string $ type ) : AbstractReader { if ( ! \ array_key_exists ( $ type , static :: $ invokableClasses ) ) { throw new InvalidArgumentException ( 'Unsupported config file type: ' . $ type ) ; } return new static :: $ invokableClasses [ $ type ] ; }
Returns config reader class

@param string $type
@return AbstractReader
Returns config reader class