public function CookieJarInterface::setCookie in Lockr 7.3
Sets a cookie in the cookie jar.
Parameters
SetCookie $cookie Cookie to set.:
Return value
bool Returns true on success or false on failure
1 method overrides CookieJarInterface::setCookie()
- CookieJar::setCookie in vendor/
guzzlehttp/ guzzle/ src/ Cookie/ CookieJar.php - Sets a cookie in the cookie jar.
File
- vendor/
guzzlehttp/ guzzle/ src/ Cookie/ CookieJarInterface.php, line 49
Class
- CookieJarInterface
- Stores HTTP cookies.
Namespace
GuzzleHttp\CookieCode
public function setCookie(SetCookie $cookie);