protected function FullHttpMessageFormatter::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/ FullHttpMessageFormatter.php, line 67
Class
- FullHttpMessageFormatter
- Full HTML debug message formatter plugin.
Namespace
Drupal\apigee_edge_debug\Plugin\DebugMessageFormatterCode
protected function getFormatter() : Formatter {
if (NULL === self::$formatter) {
// The default 1000 characters is not enough.
self::$formatter = new OriginalFullHttpMessageFormatter($this->maxBodyLength);
}
return self::$formatter;
}