ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
CookieJar.php
Go to the documentation of this file.
1<?php
2
3namespace ILIAS\HTTP\Cookies;
4
6
24interface CookieJar
25{
26
34 public function has($name);
35
36
45 public function get($name);
46
47
53 public function getAll();
54
55
63 public function with(Cookie $setCookie);
64
65
73 public function without($name);
74
75
84}
An exception for terminatinating execution or to throw for unit testing.
has($name)
Checks if a cookie with the given name is in the jar.
with(Cookie $setCookie)
Creates a new cookie jar with the given cookie.
getAll()
Fetches all cookies from the current jar.
without($name)
Creates a cookie jar without the specified cookie.
renderIntoResponseHeader(ResponseInterface $response)
Render CookieJar into a Response.
Representation of an outgoing, server-side response.
if($format !==null) $name
Definition: metadata.php:146
Class CookieJarWrapperTest.
Definition: Cookie.php:3
$response