title: Laravel 5.8 custom command not found
body: <p>I have created a custom command using artisan:</p>
  
  <blockquote>
    <p>php artisan make:command resetNegotiations</p>
  </blockquote>
  
  <p>Than deleted cache with:</p>
  
  <blockquote>
    <p>php artisan cache:clear</p>
  </blockquote>
  
  <p>But if I try to run: <em>php artisan ResetNegotiations</em> I got the error:</p>
  
  <blockquote>
    <p>Command "ResetNegotiations" is not defined.</p>
  </blockquote>
  
  <p>The file <em>ResetNegotiations.php</em> exists in <em>app/Console/Commands</em></p>
  
  <p>I have found similar questions:
  - <a href="https://stackoverflow.com/questions/23462266/command-is-not-defined-exception">Command is not defined exception</a> but it not fixed mine.</p>
  
  <p>I have updated the kernel as <a href="https://laravel.com/docs/5.8/artisan#registering-commands" rel="nofollow noreferrer">https://laravel.com/docs/5.8/artisan#registering-commands</a> in app/Console/Kernel.php  but... nothing. The same error also after cache rebuilt.</p>
  
  <p><strong>kernel.php</strong></p>
  
  <pre><code> ....
   protected $commands = [
      Commands\ResetNegotiations::class,
      //
  ];
  </code></pre>
  
  <p>What I'm missing?</p>
  
  <p>This is the command:</p>
  
  <pre><code>&lt;?php
    namespace App\Console\Commands;
    use Illuminate\Console\Command;
  
     class resetNegotiations extends Command{
  /**
   * The name and signature of the console command.
   *
   * @var string
   */
  protected $signature = 'command:name';
  
  /**
   * The console command description.
   *
   * @var string
   */
  protected $description = 'Command description';
  
  /**
   * Create a new command instance.
   *
   * @return void
   */
  public function __construct()
  {
      parent::__construct();
  }
  
  /**
   * Execute the console command.
   *
   * @return mixed
   */
  public function handle()
  {
      //
  
      mail("######@#####.it", "Scheduledartsan ", "Command test");
  
  }
  </code></pre>
  
  <p>}</p>