app/Jobs/CheckHelperImageJob.php
Rama main · réplica de lectura del repositorio original.
<?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldBeEncrypted;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class CheckHelperImageJob implements ShouldBeEncrypted, ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public function __construct() {}
/**
* Reads the local versions.json. CheckForUpdatesJob refreshes it from the CDN every hour.
*/
public function handle(): void
{
update_helper_version(get_versions_data());
}
}