Пример #1
0
 /**
  * {@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());
 }