public function addCookie(
        $name,
        $value,
        $expire = 0,
        $path = '/',
        $domain = '',
        $secure = false,
        $httpOnly = true
    ) {
        return (new CookieInjector)->build()->set($name, $value, $expire, $path, $domain, $secure, $httpOnly);
    }