getCookie()->getDomain(); if (!empty($domain[0]) && ($domain[0] !== '.')) { $domain = '.'.$domain; } return $domain; } /** * Get configured cookie path * * @return string */ public function getPath() { return $this->getCookie()->getPath(); } }