From a557d72810470f7cf1bf5aa83523097c5c566e02 Mon Sep 17 00:00:00 2001 From: Woody Gilk Date: Fri, 26 Oct 2018 11:03:24 -0500 Subject: [PATCH] Update docblocks with official documentation --- src/RequestHandlerInterface.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/RequestHandlerInterface.php b/src/RequestHandlerInterface.php index 74035c4..83911e2 100644 --- a/src/RequestHandlerInterface.php +++ b/src/RequestHandlerInterface.php @@ -6,13 +6,17 @@ use Psr\Http\Message\ServerRequestInterface; /** - * An HTTP request handler process a HTTP request and produces an HTTP response. - * This interface defines the methods required to use the request handler. + * Handles a server request and produces a response. + * + * An HTTP request handler process an HTTP request in order to produce an + * HTTP response. */ interface RequestHandlerInterface { /** - * Handle the request and return a response. + * Handles a request and produces a response. + * + * May call other collaborating code to generate the response. */ public function handle(ServerRequestInterface $request): ResponseInterface; }