src/Http/Response.php
public function export($options = [])
    {
        $this->_setContentLength();
        return [
            'status'  => $this->status(),
            'version' => $this->version(),
            'headers' => $this->headers(),
            'body'    => $this->stream()
        ];
    }
public function export($options = [])
    {
        $this->_setContentLength();
        return [
            'status'  => $this->status(),
            'version' => $this->version(),
            'headers' => $this->headers(),
            'body'    => $this->stream()
        ];
    }
public function export ( $ options = [ ] ) { $ this -> _setContentLength ( ) ; return [ 'status' => $ this -> status ( ) , 'version' => $ this -> version ( ) , 'headers' => $ this -> headers ( ) , 'body' => $ this -> stream ( ) ] ; }
Exports a `Response` instance to an array.

@param  array $options  Options.
@return array           The export array.
Exports a Response instance to an array .