original_string: protected function registerCouchbaseQueueDriver(): void
      {
          /** @var QueueManager $queueManager */
          $queueManager = $this->app['queue'];
          $queueManager->addConnector('couchbase', function () {
              /** @var DatabaseManager $databaseManager */
              $databaseManager = $this->app['db'];
  
              return new QueueConnector($databaseManager);
          });
      }
code: protected function registerCouchbaseQueueDriver(): void
      {
          /** @var QueueManager $queueManager */
          $queueManager = $this->app['queue'];
          $queueManager->addConnector('couchbase', function () {
              /** @var DatabaseManager $databaseManager */
              $databaseManager = $this->app['db'];
  
              return new QueueConnector($databaseManager);
          });
      }
code_tokens: protected function registerCouchbaseQueueDriver ( ) : void { /** @var QueueManager $queueManager */ $ queueManager = $ this -> app [ 'queue' ] ; $ queueManager -> addConnector ( 'couchbase' , function ( ) { /** @var DatabaseManager $databaseManager */ $ databaseManager = $ this -> app [ 'db' ] ; return new QueueConnector ( $ databaseManager ) ; } ) ; }
docstring: register custom queue 'couchbase' driver
docstring_tokens: register custom queue couchbase driver