Ejemplo n.º 1
0
 protected function configure()
 {
     parent::configure();
     $this->setName('restart')->setDescription('Restart workers');
 }
Ejemplo n.º 2
0
 protected function configure()
 {
     parent::configure();
     $this->setName('stats')->setDescription('Get stats about the workers')->addOption('pids', 'p', null, 'Only return a list of PIDs');
 }
Ejemplo n.º 3
0
 protected function configure()
 {
     parent::configure();
     $this->setName('start')->addOption('number', 'm', InputOption::VALUE_REQUIRED, 'Override number of workers to start <comment>(default: up to the number specified by the worker)</comment>')->setDescription('Start workers');
 }
Ejemplo n.º 4
0
 protected function configure()
 {
     parent::configure();
     $this->setName('stop')->setDescription('Stop workers');
 }