public function set(string $name, RequestCookieInterface $requestCookie): void
    {
        $this->requestCookies[$name] = $requestCookie;
    }
public function set(string $name, RequestCookieInterface $requestCookie): void
    {
        $this->requestCookies[$name] = $requestCookie;
    }
public function set ( string $ name , RequestCookieInterface $ requestCookie ) : void { $ this -> requestCookies [ $ name ] = $ requestCookie ; }
Sets a request cookie by name.

@since 1.0.0

@param string                 $name          The name.
@param RequestCookieInterface $requestCookie The request cookie.
Sets a request cookie by name .