original_string: public function setToken($token = null)
      {
          if (isset($token)) {
              return $this->token = $token;
          }
  
          return $this->token = gplcart_string_encode(crypt(session_id(), $this->config->getKey()));
      }
code: public function setToken($token = null)
      {
          if (isset($token)) {
              return $this->token = $token;
          }
  
          return $this->token = gplcart_string_encode(crypt(session_id(), $this->config->getKey()));
      }
code_tokens: public function setToken ( $ token = null ) { if ( isset ( $ token ) ) { return $ this -> token = $ token ; } return $ this -> token = gplcart_string_encode ( crypt ( session_id ( ) , $ this -> config -> getKey ( ) ) ) ; }
docstring: Sets a token
  @param string|null $token
  @return string
docstring_tokens: Sets a token