20 if ($cookies->has($name)) {
21 return $cookies->get($name);
37 ->renderIntoCookieHeader($request)
50 if (! is_callable($modify)) {
55 $cookie = $modify($cookies->has($name)
56 ? $cookies->get($name)
62 ->renderIntoCookieHeader($request)
76 ->renderIntoCookieHeader($request)
static create($name, $value=null)
Create a Cookie.
static modify(RequestInterface $request, $name, $modify)
Representation of an outgoing, client-side request.
static fromRequest(RequestInterface $request)
Create Cookies from a Request.