<?php

declare(strict_types=1);

namespace App\Jobs;

use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Queue\Queueable;
use Illuminate\Support\Facades\Log;

final class LogAppVersionJob implements ShouldQueue
{
    use Queueable;

    /**
     * Log the application version.
     */
    public function handle(): void
    {
        $version = config('app.version', 'unknown');

        Log::info("Application version: {$version}");
    }
}
