class Illuminate / Queue / NullQueue
You are viewing an older version of the documentation. For the latest, please visit master documentation.

NullQueue

Extends

Implements

Methods

public

size ( $queue ) : int

Get the size of the queue.

Parameters

  • $queue string|null
public

push ( $job , $data , $queue ) : mixed

Push a new job onto the queue.

Parameters

  • $job string
  • $data mixed
  • $queue string|null
public

pushRaw ( $payload , $queue , array $options ) : mixed

Push a raw payload onto the queue.

Parameters

  • $payload string
  • $queue string|null
  • $options array
public

later ( $delay , $job , $data , $queue ) : mixed

Push a new job onto the queue after a delay.

Parameters

public

pop ( $queue ) : Job |null

Pop the next job off of the queue.

Parameters

  • $queue string|null