/**
* Sets the given cookie to in the headers of this message.
*
* This is a shortcut for $message->getHeaders()->setCookie($cookie);
*
* @param Cookie $cookie The cookie to set
* @return void
* @api
*/
public function setCookie(Cookie $cookie)
{
$this->headers->setCookie($cookie);
}