original_string: public function refreshLastUsed($sessionId, $lastUsed = null)
      {
          if ($sessionInformation = $this->getSessionInformation($sessionId)) {
              if ($sessionInformation->getLastUsed() !== $lastUsed) {
                  $sessionInformation->refreshLastUsed($lastUsed);
                  $this->saveSessionInformation($sessionInformation);
              }
          }
      }
code: public function refreshLastUsed($sessionId, $lastUsed = null)
      {
          if ($sessionInformation = $this->getSessionInformation($sessionId)) {
              if ($sessionInformation->getLastUsed() !== $lastUsed) {
                  $sessionInformation->refreshLastUsed($lastUsed);
                  $this->saveSessionInformation($sessionInformation);
              }
          }
      }
code_tokens: public function refreshLastUsed ( $ sessionId , $ lastUsed = null ) { if ( $ sessionInformation = $ this -> getSessionInformation ( $ sessionId ) ) { if ( $ sessionInformation -> getLastUsed ( ) !== $ lastUsed ) { $ sessionInformation -> refreshLastUsed ( $ lastUsed ) ; $ this -> saveSessionInformation ( $ sessionInformation ) ; } } }
docstring: Updates the given sessionId so its last request time is equal to the present date and time.
  
  @param string   $sessionId the session identifier key.
  @param int|null $lastUsed  the last request timestamp
docstring_tokens: Updates the given sessionId so its last request time is equal to the present date and time .