Hmmm, double checked the filename and class declaration ???
Jul 25, 2016
3
Level 1
Envoyer Choking With New Artisan Command Addition
Hi,
I have a command I just wrote:
<?php
namespace App\Console\Commands;
use ...;
class SendDigests extends Command
{
I have defined it in Kernel.php like so:
protected $commands = [
\App\Console\Commands\SendDigests::class,
];
However when I try to deploy my code with Envoyer I receive:
Generating autoload files
> php artisan clear-compiled
[ReflectionException]
Class App\Console\Commands\SendDigests does not exist
I even tried taking the declaration OUT of kernel.php, deploying, and then putting it back in with no luck. What's making artisan so unhappy about this command?
Thank you,
Josh
Please or to participate in this conversation.