original_string: public function set($key, $value = null)
      {
          if (!GC_CLI && isset($_SESSION)) {
              gplcart_array_set($_SESSION, $key, $value);
              return true;
          }
  
          return false;
      }
code: public function set($key, $value = null)
      {
          if (!GC_CLI && isset($_SESSION)) {
              gplcart_array_set($_SESSION, $key, $value);
              return true;
          }
  
          return false;
      }
code_tokens: public function set ( $ key , $ value = null ) { if ( ! GC_CLI && isset ( $ _SESSION ) ) { gplcart_array_set ( $ _SESSION , $ key , $ value ) ; return true ; } return false ; }
docstring: Set a session data
  @param string|array $key
  @param mixed $value
  @return bool
docstring_tokens: Set a session data