# depicter/1.5.2/modules/GuzzleHttp/MessageFormatterInterface.php

Depicter — Popup &amp; Slider Builder, version 1.5.2. 19 lines.

- Page: https://pluginprobe.com/plugins/depicter/1.5.2/code/modules/GuzzleHttp/MessageFormatterInterface.php
- Raw: https://pluginprobe.com/plugins/depicter/1.5.2/raw/modules/GuzzleHttp/MessageFormatterInterface.php
- Modified: 2022-06-01T06:26:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/depicter/1.5.2/code/modules/GuzzleHttp/MessageFormatterInterface.php#L10-L20`.

```php
<?php

namespace Depicter\GuzzleHttp;

use Depicter\Psr\Http\Message\RequestInterface;
use Depicter\Psr\Http\Message\ResponseInterface;

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;
}

```
