You are here

protected function SimpleFormatter::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/SimpleFormatter.php, line 46

Class

SimpleFormatter
Simple debug message formatter plugin.

Namespace

Drupal\apigee_edge_debug\Plugin\DebugMessageFormatter

Code

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