From 2f5d51076c6133c16002b6c99f4ba4226a23acbc Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sat, 9 Jul 2016 23:13:44 +0900 Subject: [PATCH] Add generic getter and setter methods --- common/framework/session.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/common/framework/session.php b/common/framework/session.php index 07a031925..4f4d6b7be 100644 --- a/common/framework/session.php +++ b/common/framework/session.php @@ -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. *