Queue::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

Queue::size()

int size(string $queue = null) Get the size of the queue. Parameters string $queue Return Value int

Queue::spy()

static void spy() Convert the facade into a Mockery spy. Return Value void

Queue::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

Queue::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed Exceptions RuntimeException

Queue::__construct()

void __construct(HttpKernelInterface $app, CookieJar $cookies) Create a new CookieQueue instance. Parameters HttpKernelInterface $app CookieJar $cookies Return Value void

Queueable

Queueable trait Queueable (View source) Properties string|null $connection The name of the connection the job should be sent to. string|null $queue The name of the queue the job should be sent to. DateTime|int|null $delay The number of seconds before the job should be made available.

Queueable::delay()

$this delay(DateTime|int|null $delay) Set the desired delay for the job. Parameters DateTime|int|null $delay Return Value $this

Queueable::onConnection()

$this onConnection(string|null $connection) Set the desired connection for the job. Parameters string|null $connection Return Value $this

Queueable::onQueue()

$this onQueue(string|null $queue) Set the desired queue for the job. Parameters string|null $queue Return Value $this