original_string: protected function registerSwooleQueueDriver()
      {
          $this->app->afterResolving('queue', function (QueueManager $manager) {
              $manager->addConnector('swoole', function () {
                  return new SwooleTaskConnector($this->app->make(Server::class));
              });
          });
      }
code: protected function registerSwooleQueueDriver()
      {
          $this->app->afterResolving('queue', function (QueueManager $manager) {
              $manager->addConnector('swoole', function () {
                  return new SwooleTaskConnector($this->app->make(Server::class));
              });
          });
      }
code_tokens: protected function registerSwooleQueueDriver ( ) { $ this -> app -> afterResolving ( 'queue' , function ( QueueManager $ manager ) { $ manager -> addConnector ( 'swoole' , function ( ) { return new SwooleTaskConnector ( $ this -> app -> make ( Server :: class ) ) ; } ) ; } ) ; }
docstring: Register queue driver for swoole async task.
docstring_tokens: Register queue driver for swoole async task .