public function set(string $name, ResponseCookieInterface $responseCookie): void
    {
        $this->responseCookies[$name] = $responseCookie;
    }
public function set(string $name, ResponseCookieInterface $responseCookie): void
    {
        $this->responseCookies[$name] = $responseCookie;
    }
public function set ( string $ name , ResponseCookieInterface $ responseCookie ) : void { $ this -> responseCookies [ $ name ] = $ responseCookie ; }
Sets a response cookie by name.

@since 1.0.0

@param string                  $name           The name.
@param ResponseCookieInterface $responseCookie The response cookie.
Sets a response cookie by name .