ILIAS  release_7 Revision v7.30-3-g800a261c036
CookieJarFactory.php
Go to the documentation of this file.
1<?php
2
3namespace ILIAS\HTTP\Cookies;
4
5use Psr\Http\Message\ResponseInterface;
6
18{
19
27 public function fromCookieStrings(array $cookieStrings) : CookieJar;
28
29
37 public function fromResponse(ResponseInterface $response) : CookieJar;
38}
An exception for terminatinating execution or to throw for unit testing.
fromResponse(ResponseInterface $response)
Create CookieJar from a Response.
fromCookieStrings(array $cookieStrings)
Create CookieJar from a collection of Cookie header value strings.
Class CookieJarWrapperTest.
Definition: Cookie.php:3
$response