original_string: public function close()
      {
          if (!$this->_started) {
              return true;
          }
  
          if (!session_write_close()) {
              throw new RuntimeException('Could not close the session');
          }
  
          $this->_started = false;
  
          return true;
      }
code: public function close()
      {
          if (!$this->_started) {
              return true;
          }
  
          if (!session_write_close()) {
              throw new RuntimeException('Could not close the session');
          }
  
          $this->_started = false;
  
          return true;
      }
code_tokens: public function close ( ) { if ( ! $ this -> _started ) { return true ; } if ( ! session_write_close ( ) ) { throw new RuntimeException ( 'Could not close the session' ) ; } $ this -> _started = false ; return true ; }
docstring: Write data and close the session
  
  @return bool True if session was started
docstring_tokens: Write data and close the session