Update documentation on Router and Message
This commit is contained in:
parent
6a642dfed2
commit
8aa6b91d91
|
|
@ -34,6 +34,9 @@ abstract class Message
|
|||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a new HTTP message.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->headers = array();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue