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++;
        }
    }
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++;
        }
    }
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 ++ ; } }
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.
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 .