public function fetch($method, array $params)
    {

        $url = $this->buildRequestUrl($method, $params);

        $recursionCounter = 0;

        while ($recursionCounter <= $this->maxRepeatedRequests) {

            try {
                return $this->getResponse($url);
            } catch (OverflowException $e) {
                $recursionCounter++;
                sleep(1);
                continue;
            }

        }

    }
public function fetch($method, array $params)
    {

        $url = $this->buildRequestUrl($method, $params);

        $recursionCounter = 0;

        while ($recursionCounter <= $this->maxRepeatedRequests) {

            try {
                return $this->getResponse($url);
            } catch (OverflowException $e) {
                $recursionCounter++;
                sleep(1);
                continue;
            }

        }

    }
{@inheritdoc}

@param string $method The method to call on the "WMS" server
@param array $params The parameters of the method
@return array The result