setHttpClient() публичный Метод

Set the http client object
public setHttpClient ( string $httpClientName ) : void
$httpClientName string
Результат void
Пример #1
0
 /**
  * Set the http client object
  *
  * @param string $httpClientName
  * @return void 
  * @static 
  */
 public static function setHttpClient($httpClientName)
 {
     \Artdarek\OAuth\OAuth::setHttpClient($httpClientName);
 }
Пример #2
0
 /**
  * Create a new controller instance.
  */
 public function __construct(OAuth $oauth)
 {
     $oauth->setHttpClient('CurlClient');
     $this->oauth = $oauth;
 }