/** * Remove all headers at once * @return AbstractMessage */ public function removeHeaders() { $this->headers->flush(); return $this; }