ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\HTTP\Cookies\CookieJarFactoryImpl Class Reference
+ Inheritance diagram for ILIAS\HTTP\Cookies\CookieJarFactoryImpl:
+ Collaboration diagram for ILIAS\HTTP\Cookies\CookieJarFactoryImpl:

Public Member Functions

 fromCookieStrings (array $cookieStrings)
 Create CookieJar from a collection of Cookie header value strings.
Parameters
string[]$cookieStrings
More...
 
 fromResponse (ResponseInterface $response)
 Create CookieJar from a Response. More...
 
 fromCookieStrings (array $cookieStrings)
 Create CookieJar from a collection of Cookie header value strings. More...
 
 fromResponse (ResponseInterface $response)
 Create CookieJar from a Response. More...
 

Detailed Description

Definition at line 34 of file CookieJarFactoryImpl.php.

Member Function Documentation

◆ fromCookieStrings()

ILIAS\HTTP\Cookies\CookieJarFactoryImpl::fromCookieStrings ( array  $cookieStrings)

Create CookieJar from a collection of Cookie header value strings.

Parameters
string[]$cookieStrings

Implements ILIAS\HTTP\Cookies\CookieJarFactory.

Definition at line 39 of file CookieJarFactoryImpl.php.

39 : CookieJar
40 {
41 return new CookieJarWrapper(SetCookies::fromSetCookieStrings($cookieStrings));
42 }

◆ fromResponse()

ILIAS\HTTP\Cookies\CookieJarFactoryImpl::fromResponse ( ResponseInterface  $response)

Create CookieJar from a Response.

Implements ILIAS\HTTP\Cookies\CookieJarFactory.

Definition at line 48 of file CookieJarFactoryImpl.php.

48 : CookieJar
49 {
50 return new CookieJarWrapper(SetCookies::fromResponse($response));
51 }
$response
Definition: xapitoken.php:93

References $response.


The documentation for this class was generated from the following file: