/** * Get all headers at once in an array * @return array */ public function getHeaders() { return $this->headers->toArray(); }