20 if ($setCookies->has($name)) {
21 return $setCookies->get($name);
37 ->renderIntoSetCookieHeader($response)
61 if (! is_callable($modify)) {
66 $setCookie = $modify($setCookies->has($name)
67 ? $setCookies->get($name)
73 ->renderIntoSetCookieHeader($response)
87 ->renderIntoSetCookieHeader($response)
static fromResponse(ResponseInterface $response)
Create SetCookies from a Response.
static create($name, $value=null)
static expire(ResponseInterface $response, $cookieName)
static modify(ResponseInterface $response, $name, $modify)
static createExpired($name)
Representation of an outgoing, server-side response.