43 return $this->cookies->has(
$name);
52 $cookie = $this->cookies->get(
$name);
54 return (is_null($cookie)) ?
null :
new CookieWrapper($cookie);
64 foreach ($this->cookies->getAll() as $cookie) {
68 return $wrappedCookies;
80 $wrapper = $setCookie;
81 $internalCookie = $wrapper->getImplementation();
84 $clone->cookies = $this->cookies->with($internalCookie);
96 $clone->cookies = $this->cookies->without(
$name);
An exception for terminatinating execution or to throw for unit testing.
renderIntoResponseHeader(ResponseInterface $response)
@inheritDoc
without($name)
@inheritDoc
__construct(SetCookies $cookies)
CookieJarWrapper constructor.
with(Cookie $setCookie)
Creates a new cookie jar with the given cookie.
Representation of an outgoing, server-side response.
Class CookieJarWrapperTest.