QueueingDispatcher::dispatchFrom()

mixed dispatchFrom(mixed $command, ArrayAccess $source, array $extras = array()) Marshal a command and dispatch it to its appropriate handler. Parameters mixed $command ArrayAccess $source array $extras Return Value mixed

QueueingDispatcher::dispatch()

mixed dispatch(mixed $command, Closure $afterResolving = null) Dispatch a command to its appropriate handler. Parameters mixed $command Closure $afterResolving Return Value mixed

QueueingDispatcher

QueueingDispatcher interface QueueingDispatcher implements Dispatcher (View source) Methods mixed dispatchFromArray(mixed $command, array $array) Marshal a command and dispatch it to its appropriate handler. from Dispatcher mixed dispatchFrom(mixed $command, ArrayAccess $source, array $extras = array()) Marshal a command and dispatch it to its appropriate handler. from Dispatcher mixed dispatch(mixed $command, Closure $afterResolving = null) Dispatch a command to its appropriate h

QueueFake::size()

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

QueueFake::pushRaw()

mixed pushRaw(string $payload, string $queue = null, array $options = array()) Push a raw payload onto the queue. Parameters string $payload string $queue array $options Return Value mixed

QueueFake::pushOn()

mixed pushOn(string $queue, string $job, mixed $data = '') Push a new job onto the queue. Parameters string $queue string $job mixed $data Return Value mixed

QueueFake::pushed()

Collection pushed(string $job, callable|null $callback = null) Get all of the jobs matching a truth-test callback. Parameters string $job callable|null $callback Return Value Collection

QueueFake::push()

mixed push(string $job, mixed $data = '', string $queue = null) Push a new job onto the queue. Parameters string $job mixed $data string $queue Return Value mixed

QueueFake::pop()

Job|null pop(string $queue = null) Pop the next job off of the queue. Parameters string $queue Return Value Job|null

QueueFake::laterOn()

mixed laterOn(string $queue, DateTime|int $delay, string $job, mixed $data = '') Push a new job onto the queue after a delay. Parameters string $queue DateTime|int $delay string $job mixed $data Return Value mixed