public function write($data)
    {
        if ($this->complete) {
            return $this;
        }

        $this->getBody()->write($data);
        return $this;
    }
public function write($data)
    {
        if ($this->complete) {
            return $this;
        }

        $this->getBody()->write($data);
        return $this;
    }
public function write ( $ data ) { if ( $ this -> complete ) { return $ this ; } $ this -> getBody ( ) -> write ( $ data ) ; return $ this ; }
Write data to the response body

Proxies to the underlying stream and writes the provided data to it.

@param string $data
Write data to the response body