original_string: public static function get($name, $options = [])
      {
          RequestSession::_start();
  
          $default = isset($options["default"]) ? $options["default"] : null;
  
          return isset($_SESSION[$name]) ? $_SESSION[$name] : $default;
      }
code: public static function get($name, $options = [])
      {
          RequestSession::_start();
  
          $default = isset($options["default"]) ? $options["default"] : null;
  
          return isset($_SESSION[$name]) ? $_SESSION[$name] : $default;
      }
code_tokens: public static function get ( $ name , $ options = [ ] ) { RequestSession :: _start ( ) ; $ default = isset ( $ options [ "default" ] ) ? $ options [ "default" ] : null ; return isset ( $ _SESSION [ $ name ] ) ? $ _SESSION [ $ name ] : $ default ; }
docstring: Gets a session variable.
  
  Example:
  
  $token = RequestSession::get("token");
  $username = RequestSession::get("username", ["default" => "root"]);
  
  @param string $name    Session variable name
  @param array  $options Options
  
  @return mixed|null
docstring_tokens: Gets a session variable .