protected function handleResponse($response, int $index) { $crawlUrl = $this->crawlQueue->getPendingUrlAtIndex($index); $this->crawlObserver->hasBeenCrawled($crawlUrl->url, $response, $crawlUrl->foundOnUrl); }