public function sendCookies(): void
    {
        foreach ((array) $this->cookies as $cookie) {
            $this->sendCookie($cookie['name'], $cookie['value'], $cookie['expire'],
                $cookie['path'], $cookie['domain'], $cookie['secure'], $cookie['httpOnly']);
        }
    }