You are here

public function SetCookie::getDomain in Zircon Profile 8.0

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

Get the domain

Return value

string|null

2 calls to SetCookie::getDomain()
SetCookie::matchesDomain in vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php
Check if the cookie matches a domain value
SetCookie::validate in vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php
Check if the cookie is valid according to RFC 6265

File

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

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

public function getDomain() {
  return $this->data['Domain'];
}