src/Room11/HTTP/Response/Response.php
public function getAllHeaders()
    {
        $headers = $this->headers;
        if ($this->cookies) {
            $headers['Set-Cookie'] = array_values($this->cookies);
        }

        return $headers;
    }
public function getAllHeaders()
    {
        $headers = $this->headers;
        if ($this->cookies) {
            $headers['Set-Cookie'] = array_values($this->cookies);
        }

        return $headers;
    }
public function getAllHeaders ( ) { $ headers = $ this -> headers ; if ( $ this -> cookies ) { $ headers [ 'Set-Cookie' ] = array_values ( $ this -> cookies ) ; } return $ headers ; }
Retrieve an array mapping header field names to their assigned values

@return array
Retrieve an array mapping header field names to their assigned values