/** * {@inheritdoc} */ public function formatRequest(InternalRequestInterface $request) { return array('protocol_version' => $request->getProtocolVersion(), 'uri' => (string) $request->getUri(), 'method' => $request->getMethod(), 'headers' => $request->getHeaders(), 'body' => (string) $request->getBody(), 'datas' => $request->getDatas(), 'files' => $request->getFiles(), 'parameters' => $request->getParameters()); }