Answers for "Illuminate\Contracts\Container\BindingResolutionException: Target class [StudyController] does not exist."

1

IlluminateContractsContainerBindingResolutionException target calss does not exist

Routing namespaces have been updated on Laravel 8.X

On your router, you should define:
use AppHttpControllersTestController;

And then, declare:
Route::get('test',[TestController::class, 'test']);
Posted by: Guest on May-03-2021
-1

IlluminateContractsContainerBindingResolutionException Target class [SlugController] does not exist.

Route::get('/test/{slug}',  'AppHttpControllersSlugController@show' );
Posted by: Guest on September-25-2020

Code answers related to "Illuminate\Contracts\Container\BindingResolutionException: Target class [StudyController] does not exist."

Browse Popular Code Answers by Language