ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($name, $value=null) | |
getName () | |
getValue () | |
withValue ($value=null) | |
__toString () | |
Render Cookie as a string. More... | |
Static Public Member Functions | |
static | create ($name, $value=null) |
Create a Cookie. More... | |
static | listFromCookieString ($string) |
Create a list of Cookies from a Cookie header value string. More... | |
Private Attributes | |
$name | |
$value | |
Definition at line 5 of file Cookie.php.
Dflydev\FigCookies\Cookie::__construct | ( | $name, | |
$value = null |
|||
) |
string | $name | |
string | null | $value |
Definition at line 21 of file Cookie.php.
References Dflydev\FigCookies\Cookie\$name, and Dflydev\FigCookies\Cookie\$value.
Dflydev\FigCookies\Cookie::__toString | ( | ) |
|
static |
Create a Cookie.
string | $name | |
string | null | $value |
Definition at line 73 of file Cookie.php.
References Dflydev\FigCookies\Cookie\$name, and Dflydev\FigCookies\Cookie\$value.
Referenced by Dflydev\FigCookies\FigRequestCookies\get(), Dflydev\FigCookies\CookiesTest\it_renders_added_and_removed_cookies_header(), Dflydev\FigCookies\CookiesTest\it_renders_new_cookies_into_empty_cookie_header(), Dflydev\FigCookies\FigRequestCookiesTest\it_sets_cookies(), Dflydev\FigCookies\CookiesTest\it_sets_overrides_and_removes_cookie(), Dflydev\FigCookies\FigRequestCookies\modify(), Dflydev\FigCookies\CookiesTest\provideCookieStringAndExpectedCookiesData(), and Dflydev\FigCookies\CookiesTest\provideGetsCookieByNameData().
Dflydev\FigCookies\Cookie::getName | ( | ) |
Definition at line 30 of file Cookie.php.
References Dflydev\FigCookies\Cookie\$name.
Referenced by Dflydev\FigCookies\CookieTest\assertCookieNameAndValue(), Dflydev\FigCookies\FigRequestCookiesTest\it_modifies_cookies(), and Dflydev\FigCookies\Cookies\with().
Dflydev\FigCookies\Cookie::getValue | ( | ) |
Definition at line 38 of file Cookie.php.
References Dflydev\FigCookies\Cookie\$value.
Referenced by Dflydev\FigCookies\CookieTest\assertCookieNameAndValue(), and Dflydev\FigCookies\FigCookiesTest\it_encrypts_and_decrypts_cookies().
|
static |
Create a list of Cookies from a Cookie header value string.
string | $string |
Definition at line 84 of file Cookie.php.
References $cookieName, Dflydev\FigCookies\StringUtil\splitCookiePair(), and Dflydev\FigCookies\StringUtil\splitOnAttributeDelimiter().
Referenced by Dflydev\FigCookies\Cookies\fromCookieString(), and Dflydev\FigCookies\CookieTest\it_parses_list_from_cookie_string().
Dflydev\FigCookies\Cookie::withValue | ( | $value = null | ) |
string | null | $value |
Definition at line 47 of file Cookie.php.
References Dflydev\FigCookies\Cookie\$value.
Referenced by Dflydev\FigCookies\FigCookiesTest\it_encrypts_and_decrypts_cookies(), and Dflydev\FigCookies\FigRequestCookiesTest\it_modifies_cookies().
|
private |
Definition at line 10 of file Cookie.php.
Referenced by Dflydev\FigCookies\Cookie\__construct(), Dflydev\FigCookies\Cookie\create(), and Dflydev\FigCookies\Cookie\getName().
|
private |
Definition at line 15 of file Cookie.php.
Referenced by Dflydev\FigCookies\Cookie\__construct(), Dflydev\FigCookies\Cookie\create(), Dflydev\FigCookies\Cookie\getValue(), and Dflydev\FigCookies\Cookie\withValue().