public function CookieJar::set in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/CookieJar.php \Symfony\Component\BrowserKit\CookieJar::set()
Sets a cookie.
Parameters
Cookie $cookie A Cookie instance:
1 call to CookieJar::set()
- CookieJar::updateFromSetCookie in vendor/
symfony/ browser-kit/ CookieJar.php - Updates the cookie jar from a response Set-Cookie headers.
File
- vendor/
symfony/ browser-kit/ CookieJar.php, line 28
Class
- CookieJar
- CookieJar.
Namespace
Symfony\Component\BrowserKitCode
public function set(Cookie $cookie) {
$this->cookieJar[$cookie
->getDomain()][$cookie
->getPath()][$cookie
->getName()] = $cookie;
}