Solve your laravel problems.
In this route below, what is the user() function?
Route::group(['middleware' => 'auth:api'], function () { Route::get('user', function (Request $request) { return $request->user(); }); });