示例#1
0
 /**
  * Process a job from a queue
  *
  * @param mixed $queue
  */
 public function work($queue = 'default', $connector = null)
 {
     $worker = \Worker::forge($queue, $connector);
     $worker->work();
 }