public function TestHttpClientWrapper::__construct in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x src/Tests/TestHttpClientWrapper.php \Drupal\salesforce\Tests\TestHttpClientWrapper::__construct()
HttpClientWrapper constructor.
Parameters
\GuzzleHttp\ClientInterface $httpClient: Guzzle HTTP client service, from core http_client.
File
- src/
Tests/ TestHttpClientWrapper.php, line 27
Class
- TestHttpClientWrapper
- Wraps Guzzle HTTP client for an OAuth ClientInterface.
Namespace
Drupal\salesforce\TestsCode
public function __construct(GuzzleClientInterface $httpClient) {
$this->httpClient = $httpClient;
}