laracontroller@method
is still supported if you set the $namespace
property in https://github.com/laravel/laravel/blob/9.x/app/Providers/RouteServiceProvider.php
But it's generally recommended to use the Route::get('/user', [UserController::class, 'index']);
syntax.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community