version ?? "2016"; if (!in_array($version, self::versions)) { return abort(400); } $flags = Storage::disk('resources')->get((sprintf('flags/ClientAppSettings/%s.json', $version))); return response()->make($flags)->header('Content-Type', 'application/json'); } }