Definition at line 5 of file StringUtil.php.
◆ splitCookiePair()
static Dflydev\FigCookies\StringUtil::splitCookiePair |
( |
|
$string | ) |
|
|
static |
Definition at line 12 of file StringUtil.php.
13 {
14 $pairParts = explode('=', $string, 2);
15
16 if (count($pairParts) === 1) {
17 $pairParts[1] = '';
18 }
19
20 return array_map(function ($part) {
21 return urldecode($part);
22 }, $pairParts);
23 }
◆ splitOnAttributeDelimiter()
static Dflydev\FigCookies\StringUtil::splitOnAttributeDelimiter |
( |
|
$string | ) |
|
|
static |
The documentation for this class was generated from the following file:
- libs/composer/vendor/dflydev/fig-cookies/src/Dflydev/FigCookies/StringUtil.php