TableCommand

TableCommand class TableCommand extends Command (View source) Methods void __construct(Filesystem $files, Composer $composer) Create a new queue job table command instance. int run(InputInterface $input, OutputInterface $output) Run the console command. from Command int call(string $command, array $arguments = array()) Call another console command. from Command int callSilent(string $command, array $arguments = array()) Call another console command silently. from Command bo

TableCommand::anticipate()

string anticipate(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

TableCommand::argument()

string|array argument(string $key = null) Get the value of a command argument. Parameters string $key Return Value string|array

SyncQueue::setContainer()

void setContainer(Container $container) Set the IoC container instance. Parameters Container $container Return Value void

SyncQueue::size()

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

SyncQueue::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

SyncQueue::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

SyncQueue::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

SyncQueue::pop()

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

SyncQueue::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 Exceptions Throwable