Files
portal-api/app/Jobs/VirtualMachine/Sync/SyncAllPackage.php
T
2025-07-24 16:18:27 +07:00

39 lines
796 B
PHP

<?php
namespace App\Jobs\VirtualMachine\Sync;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class SyncAllPackage implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
SyncDatacenter::dispatchSync();
SyncHost::dispatchSync();
SyncDatastore::dispatchSync();
SyncNetwork::dispatchSync();
SyncFolder::dispatchSync();
}
}