public static function create($name, $value, $lifetime, $path = '/')
    {
        $expire = self::lifetime($lifetime);

        return setcookie($name, $value, $expire, $path);
    }
public static function create($name, $value, $lifetime, $path = '/')
    {
        $expire = self::lifetime($lifetime);

        return setcookie($name, $value, $expire, $path);
    }
public static function create ( $ name , $ value , $ lifetime , $ path = '/' ) { $ expire = self :: lifetime ( $ lifetime ) ; return setcookie ( $ name , $ value , $ expire , $ path ) ; }
Create new cookie.

@param string $name
@param string $value
@param int    $lifetime By minutes
@param string $path

@return null
Create new cookie .