Open Journal Systems
3.3.0
|
Public Member Functions | |
parseCookie ($cookie, $host=null, $path=null, $decode=false) | |
Protected Member Functions | |
getDefaultPath ($path) | |
Static Protected Attributes | |
static | $cookieParts |
Default Guzzle implementation of a Cookie parser
Definition at line 8 of file CookieParser.php.
|
protected |
Get default cookie path according to RFC 6265 http://tools.ietf.org/search/rfc6265#section-5.1.4 Paths and Path-Match
string | $path | Request uri-path |
Definition at line 105 of file CookieParser.php.
Referenced by Guzzle\Parser\Cookie\CookieParser\parseCookie().
Guzzle\Parser\Cookie\CookieParser::parseCookie | ( | $cookie, | |
$host = null , |
|||
$path = null , |
|||
$decode = false |
|||
) |
Parse a cookie string as set in a Set-Cookie HTTP header and return an associative array of data.
string | $cookie | Cookie header value to parse |
string | $host | Host of an associated request |
string | $path | Path of an associated request |
bool | $decode | Set to TRUE to urldecode cookie values |
Implements Guzzle\Parser\Cookie\CookieParserInterface.
Definition at line 25 of file CookieParser.php.
References Guzzle\Parser\Cookie\CookieParser\$cookieParts, and Guzzle\Parser\Cookie\CookieParser\getDefaultPath().
|
staticprotected |
Definition at line 11 of file CookieParser.php.
Referenced by Guzzle\Parser\Cookie\CookieParser\parseCookie().