Skip to content

Commit

Permalink
Job class
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Artistan committed Sep 20, 2017
1 parent f56fa30 commit 88cbfa4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Illuminate/Queue/Jobs/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ abstract class Job
*/
abstract public function getRawBody();

/**
* Get the job identifier.
*
* @return string
*/
abstract public function getJobId();

/**
* Fire the job.
*
Expand Down

0 comments on commit 88cbfa4

Please sign in to comment.