Skip to content

Commit

Permalink
Merge pull request #4 from brendanjhart/master
Browse files Browse the repository at this point in the history
Update to track laravel/framework v4.1 changes to abstract parent/interface classes
  • Loading branch information
franzliedke committed Feb 8, 2014
2 parents db68cb3 + 8453172 commit daabd9a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
13 changes: 12 additions & 1 deletion src/Franzl/Tardiqueue/DelayedJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@ public function attempts()
return 1;
}


/**
* Get the raw body string for the job.
*
* @return string
*/
public function getRawBody() {
//
}


/**
* Get the job identifier.
*
Expand All @@ -93,4 +104,4 @@ public function getJobId()
return '';
}

}
}
5 changes: 3 additions & 2 deletions src/Franzl/Tardiqueue/DelayedQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ public function push($job, $data = '', $queue = null)
*
* @param string $payload
* @param string $queue
* @param array $options
* @return mixed
*/
public function pushRaw($payload, $queue = null) {}
public function pushRaw($payload, $queue = null, array $options = array()) {}

/**
* Push a new job onto the queue after a delay.
Expand Down Expand Up @@ -85,4 +86,4 @@ protected function resolveJob($job, $data)
return new DelayedJob($this->container, $job, $data);
}

}
}

0 comments on commit daabd9a

Please sign in to comment.