ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ILIAS\HTTP\Cookies\CookieJarFactoryImpl Class Reference
+ Inheritance diagram for ILIAS\HTTP\Cookies\CookieJarFactoryImpl:
+ Collaboration diagram for ILIAS\HTTP\Cookies\CookieJarFactoryImpl:

Public Member Functions

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

Detailed Description

Definition at line 18 of file CookieJarFactoryImpl.php.

Member Function Documentation

◆ fromCookieStrings()

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

Create CookieJar from a collection of Cookie header value strings.

Parameters
string[]$cookieStrings
Returns
CookieJar

Implements ILIAS\HTTP\Cookies\CookieJarFactory.

Definition at line 24 of file CookieJarFactoryImpl.php.

References Dflydev\FigCookies\SetCookies\fromSetCookieStrings().

25  {
26  return new CookieJarWrapper(SetCookies::fromSetCookieStrings($cookieStrings));
27  }
static fromSetCookieStrings($setCookieStrings)
Create SetCookies from a collection of SetCookie header value strings.
Definition: SetCookies.php:111
+ Here is the call graph for this function:

◆ fromResponse()

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

Create CookieJar from a Response.

Parameters
ResponseInterface$response
Returns
CookieJar

Implements ILIAS\HTTP\Cookies\CookieJarFactory.

Definition at line 33 of file CookieJarFactoryImpl.php.

References Dflydev\FigCookies\SetCookies\fromResponse().

34  {
35  return new CookieJarWrapper(SetCookies::fromResponse($response));
36  }
static fromResponse(ResponseInterface $response)
Create SetCookies from a Response.
Definition: SetCookies.php:124
$response
+ Here is the call graph for this function:

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