src/Tomahawk/HttpCore/Response/Cookies.php
public function set($name, $value, $minutes = 0, $path = '/', $domain = null, $secure = false, $httpOnly = true)
    {
        $expire = ($minutes == 0) ? 0 : time() + ($minutes * 60);

        $cookie = new Cookie($name, $value, $expire, $path, $domain, $secure, $httpOnly);

        $this->cookies[$name] = $cookie;

        return $this;
    }
public function set($name, $value, $minutes = 0, $path = '/', $domain = null, $secure = false, $httpOnly = true)
    {
        $expire = ($minutes == 0) ? 0 : time() + ($minutes * 60);

        $cookie = new Cookie($name, $value, $expire, $path, $domain, $secure, $httpOnly);

        $this->cookies[$name] = $cookie;

        return $this;
    }
Set a new cookies into the collection

@param $name
@param $value
@param int $minutes
@param string $path
@param null $domain
@param bool|false $secure
@param bool|true $httpOnly
@return $this