You are here

protected function CurlCommandFormatter::getFormatter in Apigee Edge 8

Returns the wrapped message formatter.

Return value

\Http\Message\Formatter Message formatter.

Overrides DebugMessageFormatterPluginBase::getFormatter

File

modules/apigee_edge_debug/src/Plugin/DebugMessageFormatter/CurlCommandFormatter.php, line 57

Class

CurlCommandFormatter
CURL command message formatter plugin.

Namespace

Drupal\apigee_edge_debug\Plugin\DebugMessageFormatter

Code

protected function getFormatter() : Formatter {
  if (NULL === self::$formatter) {
    self::$formatter = new OriginalCurlCommandFormatter();
  }
  return self::$formatter;
}