Add generic getter and setter methods

This commit is contained in:
Kijin Sung 2016-07-09 23:13:44 +09:00
parent 7816062044
commit 2f5d51076c

View file

@ -14,6 +14,29 @@ class Session
protected static $_must_create = false;
protected static $_must_refresh = false;
/**
* Get a session variable.
*
* @param string $key
* @return mixed
*/
public static function get($key)
{
}
/**
* Set a session variable.
*
* @param string $key
* @param mixed $value
* @return void
*/
public static function set($key, $value)
{
}
/**
* Start the session.
*