This is my code, $infoNotificacion[1] is a excel but i need export and continues:
$all=array("changes"=>$changes,"noti"=>$noti,"infoNotification"=>$infoNotification[0]);
$infoNotification[1]->export('xlsx');
return view('sendEmail')->with('htmls',$all);
But the important line is the second because I need return the view but i don't know.
please help me.