App\Controller\Http::cookie PHP Method

    function cookie()
    {
        $this->http->setcookie("swoole", "framework", time() + 3600, '/', 'framework.com');
    }