no message

This commit is contained in:
StudioTem committed 2023-03-24 13:46:29 +01:00
1 parent 04c42c2762
commit d69fcf328b
8 files changed
+286 -2

No files matched your search

@@ -0,0 +1,36 @@
<?php
namespace App\Console\Commands;
use App\Services\Intranet\IntranetService;
use Illuminate\Console\Command;
class SyncVacationsFromIntranet extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'intranet:sync-vacations';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Syncs vacations from Intranet to our DB';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$intranetService = new IntranetService();
$intranetService->syncVacations();
return Command::SUCCESS;
}
}