ProviderUnitTestHttpClientFactory
in package
implements
HttpClientFactoryInterface
FinalYes
A PSR-18 HTTP client factory for provider unit tests
This factory just returns an echo client, that returns the given request
Tags
Table of Contents
Interfaces
- HttpClientFactoryInterface
Methods
- getClient() : ClientInterface
Methods
getClient()
public
getClient(string $cacert, ResponseFactoryInterface $responseFactory) : ClientInterface
Parameters
- $cacert : string
- $responseFactory : ResponseFactoryInterface