视图和 view:make 有什么区别?

What is the difference between view and view:make?

我开始学习 laravel 并看到了两种 return 视图的方法。

1.

return View::make('login');

2.

return view('login');

我不确定 View::make 的优势是什么。即使在阅读 API 文档之后。 https://laravel.com/api/5.4/Illuminate/View/Factory.html#method_make

他们做的一样,第一个是通过使用Facade的 第二个是辅助方法。

不管你使用哪一个,只要选择你喜欢的语法。