只需将其作为数组传递:
$data = [ 'name' => 'Raphael', 'age' => 22, 'email' => 'r.mobis@rmobis.com'];return View::make('user')->with($data);或将它们链接起来,就像@Antonio提到的那样。

只需将其作为数组传递:
$data = [ 'name' => 'Raphael', 'age' => 22, 'email' => 'r.mobis@rmobis.com'];return View::make('user')->with($data);或将它们链接起来,就像@Antonio提到的那样。