interface HorizonCommandQueue

Methods

void
push(string $name, string $command, array $options = [])

Push a command onto a queue.

array
pending(string $name)

Get the pending commands for a given queue name.

void
flush(string $name)

Flush the command queue for a given queue name.

Details

at line 12
void push(string $name, string $command, array $options = [])

Push a command onto a queue.

Parameters

string $name
string $command
array $options

Return Value

void

at line 17
array pending(string $name)

Get the pending commands for a given queue name.

Parameters

string $name

Return Value

array

at line 22
void flush(string $name)

Flush the command queue for a given queue name.

Parameters

string $name

Return Value

void