public function get($key, $value = null) { $return = $this->sessionBag->key($key, $value, true); $_SESSION[$key] = $return; return $return; }