original_string: public function handleResponse(Response $response) : void
      {
          if ($this->id === null) {
              // The request was not associated with an existing session, and no session writes occurred.
              // Sending a session cookie is unnecessary.
              return;
          }
  
          // Note: we re-send the session cookie even if it was part of the request, to refresh the expiration time.
  
          $this->writeSessionId($response);
          $this->reset();
      }
code: public function handleResponse(Response $response) : void
      {
          if ($this->id === null) {
              // The request was not associated with an existing session, and no session writes occurred.
              // Sending a session cookie is unnecessary.
              return;
          }
  
          // Note: we re-send the session cookie even if it was part of the request, to refresh the expiration time.
  
          $this->writeSessionId($response);
          $this->reset();
      }
code_tokens: public function handleResponse ( Response $ response ) : void { if ( $ this -> id === null ) { // The request was not associated with an existing session, and no session writes occurred. // Sending a session cookie is unnecessary. return ; } // Note: we re-send the session cookie even if it was part of the request, to refresh the expiration time. $ this -> writeSessionId ( $ response ) ; $ this -> reset ( ) ; }
docstring: Writes the session cookie to the Response.
  
  @param \Brick\Http\Response $response
  
  @return void
docstring_tokens: Writes the session cookie to the Response .