public function detach() { $this->detached = true; $this->fields = $this->files = []; if ($this->body) { $this->body->close(); $this->body = null; } }
public function close() { return $this->body ? $this->body->close() : true; }
public function close() { $this->stream->close(); $this->detach(); }
/** * {@inheritdoc} */ protected function doClose() { $this->stream->close(); return true; }