Documentation

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
see
HttpClientFactoryInterface
link
https://github.com/chillerlan/phpunit-http

Table of Contents

Interfaces

HttpClientFactoryInterface

Methods

getClient()  : ClientInterface

Methods

getClient()

public getClient(string $cacert, ResponseFactoryInterface $responseFactory) : ClientInterface
Parameters
$cacert : string
$responseFactory : ResponseFactoryInterface
Return values
ClientInterface

        
On this page

Search results