You are here

public function Cookie::getDomain in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/Cookie.php \Symfony\Component\HttpFoundation\Cookie::getDomain()
  2. 8 vendor/symfony/browser-kit/Cookie.php \Symfony\Component\BrowserKit\Cookie::getDomain()
  3. 8 vendor/jcalderonzumba/gastonjs/src/Cookie.php \Zumba\GastonJS\Cookie::getDomain()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Cookie.php \Symfony\Component\HttpFoundation\Cookie::getDomain()

Gets the domain that the cookie is available to.

Return value

string

1 call to Cookie::getDomain()
Cookie::__toString in vendor/symfony/http-foundation/Cookie.php
Returns the cookie as a string.

File

vendor/symfony/http-foundation/Cookie.php, line 136

Class

Cookie
Represents a cookie.

Namespace

Symfony\Component\HttpFoundation

Code

public function getDomain() {
  return $this->domain;
}