You are here

public function DebuggerInterface::extractResponseInfo in Acquia Purge 8

Extract information from a response.

Parameters

\Psr\Http\Message\ResponseInterface $response: The HTTP response object.

bool $body_title: Whether the respone body should be a titled array key.

Return value

string[] Tabular information which could be fed to ::writeTable().

1 method overrides DebuggerInterface::extractResponseInfo()
Debugger::extractResponseInfo in src/Plugin/Purge/Purger/Debugger.php
Extract information from a response.

File

src/Plugin/Purge/Purger/DebuggerInterface.php, line 87

Class

DebuggerInterface
Describes a centralized debugger for Acquia purger plugins.

Namespace

Drupal\acquia_purge\Plugin\Purge\Purger

Code

public function extractResponseInfo(ResponseInterface $response, $body_title = FALSE);