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