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