# charitable/1.8.13/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php

Charitable – Donation &amp; Fundraising Platform (Donation Forms, Recurring Donations &amp; Fundraising Campaigns), version 1.8.13. 19 lines.

- Page: https://pluginprobe.com/plugins/charitable/1.8.13/code/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php
- Raw: https://pluginprobe.com/plugins/charitable/1.8.13/raw/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php
- Modified: 2025-07-07T14:22:36+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/charitable/1.8.13/code/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php#L10-L20`.

```php
<?php

namespace GuzzleHttp;

use Psr\Http\Message\RequestInterface;
use 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;
}

```
