1: <?php
2:
3: namespace PHPFastCGI\FastCGIDaemon;
4:
5: use PHPFastCGI\FastCGIDaemon\Http\RequestInterface;
6: use Psr\Http\Message\ResponseInterface;
7: use Symfony\Component\HttpFoundation\Response as HttpFoundationResponse;
8:
9: /**
10: * Objects that implement the KernelInterface can be used by the FastCGIDaemon
11: * to
12: */
13: interface KernelInterface
14: {
15: /**
16: * Handles a request and returns a response.
17: *
18: * @param RequestInterface $request FastCGI HTTP request object
19: *
20: * @return ResponseInterface|HttpFoundationResponse HTTP response message
21: */
22: public function handleRequest(RequestInterface $request);
23: }
24: