ldc-bogt/app/Console/Commands/CafelBeaVolCommand.php
Jérémy Munsch 7cb304e967
Full traça poulets
Cafel APi Eat
Xml flux new
Full Models Rework
Refactorize
2022-06-08 11:44:01 +02:00

38 lines
751 B
PHP

<?php
namespace App\Console\Commands;
use App\Jobs\CafelBeaVolJob;
use Illuminate\Console\Command;
class CafelBeaVolCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'cafel:bea_vol';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Syncronisation manuelle Cafel (/api/ldc/beavolailles)';
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$this->info('Running the Job, this could take some time.');
$job = new CafelBeaVolJob();
$job->handle();
$this->info('Fin du traitement');
}
}