From eccc8f796fa5075a4967966a3fdbdb42d1f03931 Mon Sep 17 00:00:00 2001 From: Lucas Michot Date: Mon, 19 Jun 2017 13:57:58 +0200 Subject: [PATCH] Declare missing abstract getRawBody function. --- 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 b59e7faca04c..4a6334e4b301 100755 --- a/src/Illuminate/Queue/Jobs/Job.php +++ b/src/Illuminate/Queue/Jobs/Job.php @@ -181,6 +181,13 @@ public function payload() return json_decode($this->getRawBody(), true); } + /** + * Get the raw body of the job. + * + * @return string + */ + abstract public function getRawBody(); + /** * The number of times to attempt a job. *