Reputation: 143
I am facing a strange issue with Laravel 5.4.9
.
I tried to install a repository instead might have made a mess by
installing it as a controller. Now when I type php artisan route:list
, I am getting this error:
[ReflectionException] Class App\Http\Controllers\ProjectRepositoryInterface does not exist.
This ProjectRepositoryInterface is in repository folder and it works normal.
I want to know where the controller classes are registered and stored? Are they stored in a file (like we bind the repository and interface in the app service provider file).
How to get rid of this error?
Upvotes: 0
Views: 102
Reputation: 4738
Run composer dump-autoload
to clear the composer reference to the old file.
Upvotes: 1