ProviderLiveTestHttpClientFactory
in package
implements
HttpClientFactoryInterface
FinalYes
A PSR-18 HTTP client factory for clients used in live API tests
The phpunit constant HTTP_CLIENT_FACTORY
should be set with a valid FQCN for a HttpClientFactoryInterface
Tags
Table of Contents
Interfaces
- HttpClientFactoryInterface
Methods
- getClient() : ClientInterface
Methods
getClient()
public
getClient(string $cacert, ResponseFactoryInterface $responseFactory) : ClientInterface
Parameters
- $cacert : string
- $responseFactory : ResponseFactoryInterface