Queue (Contracts)

Queue

interface Queue (View source)

Methods

登录查看完整内容
int size(string $queue = null)

Get the size of the queue.

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

Push a new job onto the queue.

mixed pushOn(string $queue, string $job, mixed $data = '')

Push a new job onto the queue.