Illuminate\Contracts\Container\BindingResolutionException Target class [SlugController] does not exist.

PHP
Route::get('/test/{slug}',  'App\Http\Controllers\[email protected]' );
Source

Also in PHP: