protected function queueRequests( $urls ) {
		$this->curlQueue = [];
		if ( $this->queuedTesting === false ) {
			$this->curlQueue[] = $urls;

			return;
		}
		foreach ( $urls as $url ) {
			$domain = $this->parseURL( $url )['host'];
			$queuedUrl = false;
			$queueIndex = -1;
			foreach ( $this->curlQueue as $queueIndex => $urlList ) {
				if ( $queuedUrl === false && !isset( $urlList[$domain] ) ) {
					$this->curlQueue[$queueIndex][$domain] = $url;
					$queuedUrl = true;
				}
			}
			if ( $queuedUrl === false ) {
				$this->curlQueue[++$queueIndex][$domain] = $url;
			}
		}
	}
protected function queueRequests( $urls ) {
		$this->curlQueue = [];
		if ( $this->queuedTesting === false ) {
			$this->curlQueue[] = $urls;

			return;
		}
		foreach ( $urls as $url ) {
			$domain = $this->parseURL( $url )['host'];
			$queuedUrl = false;
			$queueIndex = -1;
			foreach ( $this->curlQueue as $queueIndex => $urlList ) {
				if ( $queuedUrl === false && !isset( $urlList[$domain] ) ) {
					$this->curlQueue[$queueIndex][$domain] = $url;
					$queuedUrl = true;
				}
			}
			if ( $queuedUrl === false ) {
				$this->curlQueue[++$queueIndex][$domain] = $url;
			}
		}
	}
protected function queueRequests ( $ urls ) { $ this -> curlQueue = [ ] ; if ( $ this -> queuedTesting === false ) { $ this -> curlQueue [ ] = $ urls ; return ; } foreach ( $ urls as $ url ) { $ domain = $ this -> parseURL ( $ url ) [ 'host' ] ; $ queuedUrl = false ; $ queueIndex = - 1 ; foreach ( $ this -> curlQueue as $ queueIndex => $ urlList ) { if ( $ queuedUrl === false && ! isset ( $ urlList [ $ domain ] ) ) { $ this -> curlQueue [ $ queueIndex ] [ $ domain ] = $ url ; $ queuedUrl = true ; } } if ( $ queuedUrl === false ) { $ this -> curlQueue [ ++ $ queueIndex ] [ $ domain ] = $ url ; } } }
Queue up the URLs creating time-delays between URLs with the same domain.

@param array $urls All the URLs being tested
Queue up the URLs creating time - delays between URLs with the same domain .