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