diff --git a/http-server/Http/HttpHeaders.php b/http-server/Http/HttpHeaders.php index 6cfa2a0b..597b583e 100644 --- a/http-server/Http/HttpHeaders.php +++ b/http-server/Http/HttpHeaders.php @@ -95,6 +95,14 @@ class HttpHeaders return $this->response; } + /** + * @return array + */ + public function toArray() + { + return $this->headers; + } + /** * @param $name * @return mixed|null