RunCommand
extends Command
in package
Main execution of queued jobs.
Table of Contents
Properties
- $container : ContainerInterface
Methods
- __construct() : mixed
- defaultName() : string
- execute() : int
- Run a QueueWorker loop.
- getOptionParser() : ConsoleOptionParser
- getLogger() : LoggerInterface
Properties
$container
protected
ContainerInterface
$container
Methods
__construct()
public
__construct(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
defaultName()
public
static defaultName() : string
Tags
Return values
stringexecute()
Run a QueueWorker loop.
public
execute(Arguments $args, ConsoleIo $io) : int
Runs a Queue Worker process which will try to find unassigned jobs in the queue which it may run and try to fetch and execute them.
Parameters
- $args : Arguments
-
Arguments
- $io : ConsoleIo
-
ConsoleIo
Return values
intgetOptionParser()
public
getOptionParser() : ConsoleOptionParser
Return values
ConsoleOptionParsergetLogger()
protected
getLogger(Arguments $args) : LoggerInterface
Parameters
- $args : Arguments
-
Arguments