interface MessageFormatterInterface
Hierarchy
- interface \GuzzleHttp\MessageFormatterInterface
Expanded class hierarchy of MessageFormatterInterface
All classes that implement MessageFormatterInterface
File
-
vendor/
guzzlehttp/ guzzle/ src/ MessageFormatterInterface.php, line 8
Namespace
GuzzleHttpView source
interface MessageFormatterInterface {
/**
* Returns a formatted message string.
*
* @param RequestInterface $request Request that was sent
* @param ResponseInterface|null $response Response that was received
* @param \Throwable|null $error Exception that was received
*/
public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null) : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
MessageFormatterInterface::format | public | function | Returns a formatted message string. | 1 |