laravel/framework

View on GitHub
src/Illuminate/Queue/Events/JobTimedOut.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Illuminate\Queue\Events;

class JobTimedOut
{
    /**
     * The connection name.
     *
     * @var string
     */
    public $connectionName;

    /**
     * The job instance.
     *
     * @var \Illuminate\Contracts\Queue\Job
     */
    public $job;

    /**
     * Create a new event instance.
     *
     * @param  string  $connectionName
     * @param  \Illuminate\Contracts\Queue\Job  $job
     * @return void
     */
    public function __construct($connectionName, $job)
    {
        $this->job = $job;
        $this->connectionName = $connectionName;
    }
}