model = app(Download::class); $function = Str::camel($report); return $this->$function(); } public function sample(Request $request) { return $request; } }