public function headers()
    {
        $headers = [];
        foreach ($this->headers as $header) {
            $headers[$header->name()] = $header->value();
        }

        return $headers;
    }
public function headers()
    {
        $headers = [];
        foreach ($this->headers as $header) {
            $headers[$header->name()] = $header->value();
        }

        return $headers;
    }
public function headers ( ) { $ headers = [ ] ; foreach ( $ this -> headers as $ header ) { $ headers [ $ header -> name ( ) ] = $ header -> value ( ) ; } return $ headers ; }
Get header values

@return array
Get header values