Lines Matching refs:domain
49 if (isset($cookieArray['domain'])) {
50 $cookie->setDomain($cookieArray['domain']);
103 * The domain the cookie is visible to. Defaults to the current browsing context's document's URL domain if omitted.
105 * @param string $domain
107 public function setDomain($domain)
109 if (mb_strpos($domain, ':') !== false) {
110 throw new InvalidArgumentException(sprintf('Cookie domain "%s" should not contain a port', $domain));
113 $this->offsetSet('domain', $domain);
121 return $this->offsetGet('domain');