You are here

public function SetCookie::setDomain in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php \GuzzleHttp\Cookie\SetCookie::setDomain()

Set the domain of the cookie

Parameters

string $domain:

File

vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php, line 161

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

public function setDomain($domain) {
  $this->data['Domain'] = $domain;
}