5use Psr\Http\Message\ResponseInterface;
An exception for terminatinating execution or to throw for unit testing.
with(Cookie $setCookie)
Creates a new cookie jar with the given cookie.
getAll()
Fetches all cookies from the current jar.
renderIntoResponseHeader(ResponseInterface $response)
Render CookieJar into a Response.
has(string $name)
Checks if a cookie with the given name is in the jar.
without(string $name)
Creates a cookie jar without the specified cookie.
Class CookieJarWrapperTest.