Documentation

MiddlewareInterface

Interface for HTTP client middleware

Table of Contents

Methods

__invoke()  : callable
Get the Guzzle middleware callable
configure()  : void
Set configuration for the middleware
getName()  : string
Get the name of the middleware

Methods

__invoke()

Get the Guzzle middleware callable

public __invoke() : callable
Return values
callable

configure()

Set configuration for the middleware

public configure(array<string, mixed> $config) : void
Parameters
$config : array<string, mixed>

getName()

Get the name of the middleware

public getName() : string
Return values
string

        
On this page

Search results