Methods to smartly modify request cookies
anlutro opened this issue · comments
Andreas Lutro commented
Add the methods Request::setCookie($key, $value)
and Request::setCookies(array $cookies)
.
Methods for clearing cookies (setting a cookie with a negative lifetime) probably isn't necessary as that's mostly done on the server side, not the client.