get('/user', function (Request $request) { return $request->user(); }); Route::get('/printers', ListPrinterController::class); Route::get('/printers/{id}', GetPrinterController::class);