Answers for "target class env does not exist"

PHP
0

Target class does not exist.

use App\Http\Controllers\UserController;

Route::get('/users', [UserController::class, 'index']);
// or
Route::get('/users', 'App\Http\Controllers\UserController@index');
Posted by: Guest on February-16-2021
1

Target class does not exist.

use App\Http\Controllers\RegistrationController;

Route::get('/', [RegistrationController::class, 'create']);
Posted by: Guest on April-19-2021

Code answers related to "target class env does not exist"

Browse Popular Code Answers by Language