Properties

$options

$options : 

Type

$url

$url : 

Type

$curl

$curl : 

Type

$last_status

$last_status : 

Type

$headers

$headers : 

Type

Methods

push()

push(  $job,   $data = '',   $queue = null) 

Parameters

$job
$data
$queue

later()

later(  $delay,   $job,   $data = '',   $queue = null) 

Parameters

$delay
$job
$data
$queue

pop()

pop(  $queue = null) 

Parameters

$queue

marshal()

marshal() 

__construct()

__construct(array  $options) 

Parameters

array $options

release()

release(  $queue,   $job,   $delay) 

Parameters

$queue
$job
$delay

pushRaw()

pushRaw(  $delay,   $queue,   $payload,   $attempts) 

Parameters

$delay
$queue
$payload
$attempts

deleteMessage()

deleteMessage(  $queue,   $id) 

Parameters

$queue
$id

__destruct()

__destruct() 

createPayload()

createPayload(  $job,   $data = '',   $queue = null) 

Parameters

$job
$data
$queue

createPlainPayload()

createPlainPayload(  $job,   $data) 

Parameters

$job
$data

setMeta()

setMeta(  $payload,   $key,   $value) 

Parameters

$payload
$key
$value

apiCall()

apiCall(  $type,   $url,   $params = array()) 

Parameters

$type
$url
$params

callWithRetries()

callWithRetries() 

jsonDecode()

jsonDecode(  $response) 

Parameters

$response

waitRandomInterval()

waitRandomInterval(  $retry) 

Parameters

$retry

reportHttpError()

reportHttpError(  $status,   $text) 

Parameters

$status
$text

marshalPushedJob()

marshalPushedJob() : object

Marshal out the pushed job and payload.

Returns

object