Answers for "Class "App\Http\Controllers\DB" not found"

PHP
2

App\\Http\\Controllers\\DB' not found

use Illuminate\Support\Facades\DB
Posted by: Guest on July-05-2020
0

Class 'App\Http\Controllers\DB' not found

use DB;
Posted by: Guest on October-29-2020
0

Class 'App\Http\Controllers\Response' not found

use Response;
Or use full namespace:

return \Response::json(...);
Or just use helper:

return response()->json(...);
Posted by: Guest on June-08-2020

Code answers related to "Class "App\Http\Controllers\DB" not found"

Browse Popular Code Answers by Language