/** * Raise the failed queue job event. * * @param \Illuminate\Contracts\Queue\Job $job * @return void */ protected function raiseFailedJobEvent(Job $job) { $data = json_decode($job->getRawBody(), true); if ($this->container->bound('events')) { $this->container['events']->fire('illuminate.queue.failed', array('sync', $job, $data)); } }
/** * Raise the failed queue job event. * * @param string $connection * @param \Illuminate\Contracts\Queue\Job $job * @return void */ protected function raiseFailedJobEvent($connection, Job $job) { if ($this->events) { $data = json_decode($job->getRawBody(), true); $this->events->fire('illuminate.queue.failed', array($connection, $job, $data)); } }
/** * Raise the failed queue job event. * * @param string $connection * @param \Illuminate\Contracts\Queue\Job $job * @return void */ protected function raiseFailedJobEvent($connection, Job $job) { if ($this->events) { $data = json_decode($job->getRawBody(), true); $this->events->fire(new Events\JobFailed($connection, $job, $data)); } }
/** * Raise the failed queue job event. * * @param \Illuminate\Contracts\Queue\Job $job * @return void */ protected function raiseFailedJobEvent(Job $job) { $data = json_decode($job->getRawBody(), true); if ($this->container->bound('events')) { $this->container['events']->fire(new Events\JobFailed('sync', $job, $data)); } }
/** * Raise the after queue job event. * * @param string $connection * @param \Illuminate\Contracts\Queue\Job $job * @return void */ protected function raiseAfterJobEvent($connection, Job $job) { if ($this->events) { $data = json_decode($job->getRawBody(), true); $this->events->fire('illuminate.queue.after', [$connection, $job, $data]); } }