You are here

public static function Reader::setHttpClient in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Reader.php \Zend\Feed\Reader\Reader::setHttpClient()

Set the HTTP client instance

Sets the HTTP client object to use for retrieving the feeds.

Parameters

ZendHttp\Client $httpClient:

Return value

void

File

vendor/zendframework/zend-feed/src/Reader/Reader.php, line 123

Class

Reader

Namespace

Zend\Feed\Reader

Code

public static function setHttpClient(ZendHttp\Client $httpClient) {
  static::$httpClient = $httpClient;
}