Guzzle 7.4.2

MessageFormatterInterface

Table of Contents

format()  : string
Returns a formatted message string.

Methods

format()

Returns a formatted message string.

public format(RequestInterface $request[, ResponseInterface|null $response = null ][, Throwable|null $error = null ]) : string
Parameters
$request : RequestInterface

Request that was sent

$response : ResponseInterface|null = null

Response that was received

$error : Throwable|null = null

Exception that was received

Return values
string

Search results