original_string: public function get($key, $default = null)
      {
          if (!GC_CLI && isset($_SESSION)) {
              $value = gplcart_array_get($_SESSION, $key);
          }
  
          return isset($value) ? $value : $default;
      }
code: public function get($key, $default = null)
      {
          if (!GC_CLI && isset($_SESSION)) {
              $value = gplcart_array_get($_SESSION, $key);
          }
  
          return isset($value) ? $value : $default;
      }
code_tokens: public function get ( $ key , $ default = null ) { if ( ! GC_CLI && isset ( $ _SESSION ) ) { $ value = gplcart_array_get ( $ _SESSION , $ key ) ; } return isset ( $ value ) ? $ value : $ default ; }
docstring: Returns a session data
  @param string|array $key
  @param mixed $default
  @return mixed
docstring_tokens: Returns a session data