code: public function setCookies(HttpHeaders $headers, array $cookies): void
      {
          foreach ($cookies as $cookie) {
              $this->setCookie($headers, $cookie);
          }
      }
docs: Sets cookies in the headers
  
  @param HttpHeaders $headers The headers to set the cookies in
  @param Cookie[] $cookies The cookies to set
  @throws RuntimeException Thrown if the set cookie header's hash key could not be calculated