You are here

public function Github_Client::setHttpClient in Bibliography Module 7.2

Inject another http client

Parameters

Github_HttpClient_Interface a httpClient instance:

Return value

null

File

modules/CiteProc/Github/Client.php, line 138

Class

Github_Client
Simple yet very cool PHP Github client

Code

public function setHttpClient(Github_HttpClient_Interface $httpClient) {
  $this->httpClient = $httpClient;
}