for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace yiicod\jobqueue\events;
use yii\base\Event;
/**
* Class JobProcessedEvent
* Event on job processed event
*
* @author Virchenko Maksim <[email protected]>
* @package yiicod\jobqueue\events
*/
class JobProcessedEvent extends Event
{
* 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
* @param array $config
public function __construct($connectionName, $job, array $config = [])
parent::__construct($config);
$this->job = $job;
$this->connectionName = $connectionName;
}