protected function runWorker(QueueInterface $queue)
    {
        (new Worker($this, $this->getTaskLog(), false))
            ->setDedicatedQueue($queue, 1)
            ->run();
    }
protected function runWorker(QueueInterface $queue)
    {
        (new Worker($this, $this->getTaskLog(), false))
            ->setDedicatedQueue($queue, 1)
            ->run();
    }
protected function runWorker ( QueueInterface $ queue ) { ( new Worker ( $ this , $ this -> getTaskLog ( ) , false ) ) -> setDedicatedQueue ( $ queue , 1 ) -> run ( ) ; }
Run worker on-the-fly for one round.

@param QueueInterface $queue
Run worker on - the - fly for one round .