public function addResponse(Response $response) { $ip = $response->getIP(); $this->responseCollection[$ip] = $response; }