[ Index ]

PHP Cross Reference of phpBB-3.3.5-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/Cookie/ -> CookieJar.php (summary)

(no description)

File Size: 316 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CookieJar:: (15 methods):
  __construct()
  fromArray()
  getCookieValue()
  shouldPersist()
  getCookieByName()
  toArray()
  clear()
  clearSessionCookies()
  setCookie()
  count()
  getIterator()
  extractCookies()
  getCookiePathFromRequest()
  withCookieHeader()
  removeCookieIfEmpty()


Class: CookieJar  - X-Ref

Cookie jar that stores cookies as an array

__construct($strictMode = false, $cookieArray = [])   X-Ref

param: bool $strictMode   Set to true to throw exceptions when invalid
param: array $cookieArray Array of SetCookie objects or a hash of

fromArray(array $cookies, $domain)   X-Ref
Create a new Cookie jar from an associative array and domain.

param: array  $cookies Cookies to create the jar from
param: string $domain  Domain to set the cookies to
return: self

getCookieValue($value)   X-Ref


shouldPersist(SetCookie $cookie,$allowSessionCookies = false)   X-Ref
Evaluate if this cookie should be persisted to storage
that survives between requests.

param: SetCookie $cookie Being evaluated.
param: bool $allowSessionCookies If we should persist session cookies
return: bool

getCookieByName($name)   X-Ref
Finds and returns the cookie based on the name

param: string $name cookie name to search for
return: SetCookie|null cookie that was found or null if not found

toArray()   X-Ref
No description

clear($domain = null, $path = null, $name = null)   X-Ref
No description

clearSessionCookies()   X-Ref
No description

setCookie(SetCookie $cookie)   X-Ref
No description

count()   X-Ref
No description

getIterator()   X-Ref
No description

extractCookies(RequestInterface $request,ResponseInterface $response)   X-Ref
No description

getCookiePathFromRequest(RequestInterface $request)   X-Ref
Computes cookie path following RFC 6265 section 5.1.4

param: RequestInterface $request
return: string

withCookieHeader(RequestInterface $request)   X-Ref
No description

removeCookieIfEmpty(SetCookie $cookie)   X-Ref
If a cookie already exists and the server asks to set it again with a
null value, the cookie must be deleted.

param: SetCookie $cookie



Generated: Mon Oct 4 17:42:11 2021 Cross-referenced by PHPXref 0.7.1