47 public function has(
string $name): bool
49 return $this->cookies->has($name);
56 public function get(
string $name): ?
Cookie 58 $cookie = $this->cookies->get($name);
70 foreach ($this->cookies->getAll() as $cookie) {
74 return $wrappedCookies;
86 $wrapper = $setCookie;
87 $internalCookie = $wrapper->getImplementation();
90 $clone->cookies = $this->cookies->with($internalCookie);
101 $clone = clone $this;
102 $clone->cookies = $this->cookies->
without($name);
113 return $this->cookies->renderIntoSetCookieHeader($response);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
renderIntoResponseHeader(ResponseInterface $response)
__construct(private SetCookies $cookies)
CookieJarWrapper constructor.
without(string $name)
Creates a cookie jar without the specified cookie.
with(Cookie $setCookie)
Creates a new cookie jar with the given cookie.