Open Journal Systems  3.3.0
Formatter.php
1 <?php
2 
3 namespace Http\Message;
4 
7 
13 interface Formatter
14 {
22  public function formatRequest(RequestInterface $request);
23 
31  public function formatResponse(ResponseInterface $response);
32 }
Psr\Http\Message\RequestInterface
Definition: vendor/psr/http-message/src/RequestInterface.php:24
Http\Message
Psr\Http\Message\ResponseInterface
Definition: vendor/psr/http-message/src/ResponseInterface.php:20
Http\Message\Formatter
Definition: Formatter.php:13
Http\Message\Formatter\formatResponse
formatResponse(ResponseInterface $response)
Http\Message\Formatter\formatRequest
formatRequest(RequestInterface $request)