Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MessageFormatterInterface.php

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

GuzzleHttp
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal