original_string: public function registerNewSession($sessionId, $username, $lastUsed = null)
      {
          $sessionInformation = new SessionInformation($sessionId, $username, $lastUsed ?: time());
  
          $this->saveSessionInformation($sessionInformation);
      }
code: public function registerNewSession($sessionId, $username, $lastUsed = null)
      {
          $sessionInformation = new SessionInformation($sessionId, $username, $lastUsed ?: time());
  
          $this->saveSessionInformation($sessionInformation);
      }
code_tokens: public function registerNewSession ( $ sessionId , $ username , $ lastUsed = null ) { $ sessionInformation = new SessionInformation ( $ sessionId , $ username , $ lastUsed ? : time ( ) ) ; $ this -> saveSessionInformation ( $ sessionInformation ) ; }
docstring: Registers a new session for the given user.
  
  @param string $sessionId the session identifier key.
  @param string $username  the given user.
  @param int    $lastUsed
docstring_tokens: Registers a new session for the given user .