src/Control/Cookie.php
public static function set(
        $name,
        $value,
        $expiry = 90,
        $path = null,
        $domain = null,
        $secure = false,
        $httpOnly = true
    ) {
        return self::get_inst()->set($name, $value, $expiry, $path, $domain, $secure, $httpOnly);
    }
public static function set(
        $name,
        $value,
        $expiry = 90,
        $path = null,
        $domain = null,
        $secure = false,
        $httpOnly = true
    ) {
        return self::get_inst()->set($name, $value, $expiry, $path, $domain, $secure, $httpOnly);
    }
public static function set ( $ name , $ value , $ expiry = 90 , $ path = null , $ domain = null , $ secure = false , $ httpOnly = true ) { return self :: get_inst ( ) -> set ( $ name , $ value , $ expiry , $ path , $ domain , $ secure , $ httpOnly ) ; }
Set a cookie variable.

Expiry time is set in days, and defaults to 90.

@param string $name
@param mixed $value
@param int $expiry
@param string $path
@param string $domain
@param bool $secure
@param bool $httpOnly

See http://php.net/set_session
Set a cookie variable .