flash('success', 'Hello from default Symfony');
return <<
flash
HTML;
})->name('app_home');
Route::get('/adapter/{adapter}', function (FlasherInterface $flasher, string $adapter) {
$factory = $flasher->create($adapter);
$factory->success('Operation completed successfully.');
$factory->info('Please note that some information has been updated.');
$factory->warning('This action could have potential consequences.');
$factory->error('An error occurred while processing your request.');
return view('welcome');
})->name('app_adapter');
Route::get('/livewire/counter', \App\Livewire\Counter::class);
Route::get('/livewire/eventous', \App\Livewire\Eventous::class);