コード例 #1
0
ファイル: RestartCommand.php プロジェクト: gmo/beanstalk
 protected function configure()
 {
     parent::configure();
     $this->setName('restart')->setDescription('Restart workers');
 }
コード例 #2
0
ファイル: StatsCommand.php プロジェクト: gmo/beanstalk
 protected function configure()
 {
     parent::configure();
     $this->setName('stats')->setDescription('Get stats about the workers')->addOption('pids', 'p', null, 'Only return a list of PIDs');
 }
コード例 #3
0
ファイル: StartCommand.php プロジェクト: gmo/beanstalk
 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');
 }
コード例 #4
0
ファイル: StopCommand.php プロジェクト: gmo/beanstalk
 protected function configure()
 {
     parent::configure();
     $this->setName('stop')->setDescription('Stop workers');
 }