You are here

public function DebugMessageFormatterPluginInterface::formatResponse in Apigee Edge 8

Formats a response.

Parameters

\Psr\Http\Message\ResponseInterface $response: Response object.

\Psr\Http\Message\RequestInterface $request: Request object that triggered the response.

Return value

string Formatted response.

1 method overrides DebugMessageFormatterPluginInterface::formatResponse()
DebugMessageFormatterPluginBase::formatResponse in modules/apigee_edge_debug/src/Plugin/DebugMessageFormatter/DebugMessageFormatterPluginBase.php
Formats a response.

File

modules/apigee_edge_debug/src/Plugin/DebugMessageFormatter/DebugMessageFormatterPluginInterface.php, line 70

Class

DebugMessageFormatterPluginInterface
Defines an interface for debug message formatter plugins.

Namespace

Drupal\apigee_edge_debug\Plugin\DebugMessageFormatter

Code

public function formatResponse(ResponseInterface $response, RequestInterface $request) : string;