WorkerCommand
extends Command
in package
FinalYes
Runs a supervised service-mode worker from Symfony Console.
Table of Contents
Properties
Methods
- __construct() : mixed
- configure() : void
- execute() : int
- pollTimeout() : int
Properties
$workers read-only
private
WorkerFactory
$workers
Methods
__construct()
public
__construct(WorkerFactory $workers) : mixed
Parameters
- $workers : WorkerFactory
configure()
protected
configure() : void
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
intpollTimeout()
private
pollTimeout(mixed $value) : int
Parameters
- $value : mixed