From 8aa6b91d91bfb7312a900508471326a0ed88757c Mon Sep 17 00:00:00 2001 From: PJ Dietz Date: Sun, 13 Jul 2014 17:41:52 -0400 Subject: [PATCH] Update documentation on Router and Message --- src/pjdietz/WellRESTed/Message.php | 3 +++ src/pjdietz/WellRESTed/Router.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/pjdietz/WellRESTed/Message.php b/src/pjdietz/WellRESTed/Message.php index 69e4761..4976489 100644 --- a/src/pjdietz/WellRESTed/Message.php +++ b/src/pjdietz/WellRESTed/Message.php @@ -34,6 +34,9 @@ abstract class Message // ------------------------------------------------------------------------- + /** + * Create a new HTTP message. + */ public function __construct() { $this->headers = array(); diff --git a/src/pjdietz/WellRESTed/Router.php b/src/pjdietz/WellRESTed/Router.php index 9447333..f971e9b 100644 --- a/src/pjdietz/WellRESTed/Router.php +++ b/src/pjdietz/WellRESTed/Router.php @@ -79,6 +79,9 @@ class Router implements HandlerInterface } } + /** + * Dispatch the singleton Request through the router and output the response. + */ public function respond() { $response = $this->getResponse(Request::getRequest()); $response->respond();