/** * @param RestClient $restClient * @return $this */ public function addClient(RestClient $restClient) { $this->restClients[] = $restClient; curl_multi_add_handle($this->curlMultiObj, $restClient->getHandle()); return $this; }