public function getDomain() { return $this->domain; }
/** * Set the given cookie in the headers. * * @param \Symfony\Component\HttpFoundation\Cookie $cookie * @return void */ protected function setCookie($cookie) { if (headers_sent()) { return; } setcookie($cookie->getName(), $cookie->getValue(), $cookie->getExpiresTime(), $cookie->getPath(), $cookie->getDomain(), Config::get('session.secure'), $cookie->isHttpOnly()); }