这是我的代码,$infoNotificacion[1] 是一个 excel,但我需要导出并继续:
$all=array("changes"=>$changes,"noti"=>$noti,"infoNotification"=>$infoNotification[0]);
$infoNotification[1]->export('xlsx');
return view('sendEmail')->with('htmls',$all);
但重要的行是第二行,因为我需要返回视图但我不知道。
请帮我。