src/Room11/HTTP/Response/Response.php
public function getAllHeaderLines()
    {
        $headers = [];
        foreach ($this->getAllHeaders() as $field => $valueArray) {
            foreach ($valueArray as $value) {
                $headers[] = "{$field}: $value";
            }
        }

        return $headers;
    }
public function getAllHeaderLines()
    {
        $headers = [];
        foreach ($this->getAllHeaders() as $field => $valueArray) {
            foreach ($valueArray as $value) {
                $headers[] = "{$field}: $value";
            }
        }

        return $headers;
    }
public function getAllHeaderLines ( ) { $ headers = [ ] ; foreach ( $ this -> getAllHeaders ( ) as $ field => $ valueArray ) { foreach ( $ valueArray as $ value ) { $ headers [ ] = "{$field}: $value" ; } } return $ headers ; }
Retrieve an array of header strings appropriate for output

@return array
Retrieve an array of header strings appropriate for output