Laravel Request::all() Should Not Be Called Statically

http://laravel.com/

http://kejyun.github.io/Laravel-4-Docum ... roduction/
回覆文章
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Laravel Request::all() Should Not Be Called Statically

文章 yehlu »

https://stackoverflow.com/questions/285 ... statically

188

The error message is due to the call not going through the Request facade.

Change

代碼: 選擇全部

use Illuminate\Http\Request;
To

代碼: 選擇全部

use Request;
回覆文章

回到「laravel」