<?php

namespace Illuminate\Queue\Events;

class JobPopped
{
    /**
     * Create a new event instance.
     *
     * @param  string  $connectionName  The connection name.
     * @param  \Illuminate\Contracts\Queue\Job|null  $job  The job instance.
     * @return void
     */
    public function __construct(
        public $connectionName,
        public $job,
    ) {
    }
}
