From 88cbfa4e68db2479de766b11f3d3eb3e525deb80 Mon Sep 17 00:00:00 2001 From: Charles Peterson Date: Wed, 20 Sep 2017 14:19:02 -0500 Subject: [PATCH] Job class added the required getJobId to the abstract class this method is used in all existing Illuminate/Queue/Jobs/* classes also allows better code completion via the addition in the Contract. --- src/Illuminate/Queue/Jobs/Job.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Illuminate/Queue/Jobs/Job.php b/src/Illuminate/Queue/Jobs/Job.php index 20b48222a485..9139332628a7 100755 --- a/src/Illuminate/Queue/Jobs/Job.php +++ b/src/Illuminate/Queue/Jobs/Job.php @@ -62,6 +62,13 @@ abstract class Job */ abstract public function getRawBody(); + /** + * Get the job identifier. + * + * @return string + */ + abstract public function getJobId(); + /** * Fire the job. *