PHPDocBlöcke überarbeitet
authorMarkus Bröker<broeker.markus@googlemail.com>
Sat, 19 Dec 2015 02:45:55 +0100
changeset 32 067edf3db6d7
parent 31 3a5ee3ba6006
child 33 5cb77e9211d8
PHPDocBlöcke überarbeitet
classes/bfw/Response.php
--- a/classes/bfw/Response.php
+++ b/classes/bfw/Response.php
@@ -12,22 +12,48 @@
  */
 class Response {
 
+    /**
+     *
+     * @var array
+     */
     private $headers;
+    
+    /**
+     *
+     * @var int
+     */
     private $statusCode;
 
+    /**
+     * 
+     */
     public function __construct() {
         $this->headers = headers_list();
         $this->statusCode = http_response_code();
     }
 
+    /**
+     * 
+     * @return array
+     */
     public function getHeaders() {
         return $this->headers;
     }
 
+    /**
+     * 
+     * @return int
+     */
     public function getStatusCode() {
         return $this->statusCode;
     }
 
+    /**
+     * 
+     * @param int $statusCode
+     * 
+     * @return \bfw\Response
+     */
     public function setStatusCode($statusCode) {
         $this->statusCode = $statusCode;
 
@@ -35,6 +61,8 @@
     }
 
     /**
+     * @param $key
+     * 
      * @return string
      */
     public function get($key) {