ldc-crm/app/Console/Commands/StartStatJobs.php
Alexis Gousseau 303834bbca
Crm V4
- Make all tests pass Client (V4),CRMV2,CRMV4
- Simplify client submodule path
- Move App_url to .env.testing
2023-10-06 16:37:29 +02:00

37 lines
713 B
PHP

<?php
namespace App\Console\Commands;
use App\Jobs\StartStatJobs as JobsStartStatJobs;
use Illuminate\Console\Command;
/**
* @codeCoverageIgnore
*/
class StartStatJobs extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'stats:collect';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Force push the collect stats jobs into the queue (stats)';
/**
* Execute the console command.
*
* @return integer
*/
public function handle(): int
{
\dispatch(new JobsStartStatJobs())->afterResponse();
return 0;
}
}