Permalink
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 565 Bytes
<?php
namespace Equip\Adr;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\ResponseInterface;
interface ResponderInterface
{
/**
* Handle marshalling a payload into an HTTP response.
*
* @param ServerRequestInterface $request
* @param ResponseInterface $response
* @param PayloadInterface $payload
* @return ResponseInterface
*/
public function __invoke(
ServerRequestInterface $request,
ResponseInterface $response,
PayloadInterface $payload
);
}