private function createCookie() { return SetCookie::create($this->cookieName)->withPath('/')->withHttpOnly(true); }