protected function configure()
    {
        $this->setName('worker/process')
             ->setHidden(true)
             ->setDescription('Runs a given worker')
             ->setDefinition(new InputDefinition([
                new InputOption('config', 'c', InputOption::VALUE_REQUIRED, 'A YAML configuration file'),
                new InputOption('jobId', null, InputOption::VALUE_REQUIRED, 'A Job UUID'),
                new InputOption('name', null, InputOption::VALUE_REQUIRED, 'The queue name to work with. Defaults to `default`.'),
             ]));
    }
protected function configure()
    {
        $this->setName('worker/process')
             ->setHidden(true)
             ->setDescription('Runs a given worker')
             ->setDefinition(new InputDefinition([
                new InputOption('config', 'c', InputOption::VALUE_REQUIRED, 'A YAML configuration file'),
                new InputOption('jobId', null, InputOption::VALUE_REQUIRED, 'A Job UUID'),
                new InputOption('name', null, InputOption::VALUE_REQUIRED, 'The queue name to work with. Defaults to `default`.'),
             ]));
    }
protected function configure ( ) { $ this -> setName ( 'worker/process' ) -> setHidden ( true ) -> setDescription ( 'Runs a given worker' ) -> setDefinition ( new InputDefinition ( [ new InputOption ( 'config' , 'c' , InputOption :: VALUE_REQUIRED , 'A YAML configuration file' ) , new InputOption ( 'jobId' , null , InputOption :: VALUE_REQUIRED , 'A Job UUID' ) , new InputOption ( 'name' , null , InputOption :: VALUE_REQUIRED , 'The queue name to work with. Defaults to `default`.' ) , ] ) ) ; }
Configures a new console command
@return void
Configures a new console command