original_string: public function run()
      {
          $this->init();
  
          // Loop forever, except when a maximum number of requests is configured
          $requestsHandled = 0;
          while ($this->maxRequests === null || $requestsHandled < $this->maxRequests) {
              $this->doStep();
              $requestsHandled++;
          }
      }
code: public function run()
      {
          $this->init();
  
          // Loop forever, except when a maximum number of requests is configured
          $requestsHandled = 0;
          while ($this->maxRequests === null || $requestsHandled < $this->maxRequests) {
              $this->doStep();
              $requestsHandled++;
          }
      }
code_tokens: public function run ( ) { $ this -> init ( ) ; // Loop forever, except when a maximum number of requests is configured $ requestsHandled = 0 ; while ( $ this -> maxRequests === null || $ requestsHandled < $ this -> maxRequests ) { $ this -> doStep ( ) ; $ requestsHandled ++ ; } }
docstring: Starts the adapter and keeps handling requests in a loop. This method never returns and will typically be
  the last call in an adapter implementation script.
docstring_tokens: Starts the adapter and keeps handling requests in a loop . This method never returns and will typically be the last call in an adapter implementation script .