title: ReflectionException Class App\Controller\MyController does not exist error in laravel
body: <p>In my laravel project I changed MyController name to OtherController, after doing that when I tried to run <code>php artisan route:list</code> this error occurs </p>
  
  <pre><code>[ReflectionException] Class App\Controller\MyController does not exist error
  </code></pre>
  
  <p>how to solve that and why this happens. thanks</p>