original_string: public function rebuild()
      {
          if (file_exists($this->file)) {
              try {
                  $this->data = unserialize(file_get_contents($this->file));
                  return true;
              } catch (\Exception $e) {
                  // Try just used to suppress the exception. If the cache is corrupted we just start from scratch.
              }
          }
  
          $this->data = [];
          $this->persist();
          return false;
      }
code: public function rebuild()
      {
          if (file_exists($this->file)) {
              try {
                  $this->data = unserialize(file_get_contents($this->file));
                  return true;
              } catch (\Exception $e) {
                  // Try just used to suppress the exception. If the cache is corrupted we just start from scratch.
              }
          }
  
          $this->data = [];
          $this->persist();
          return false;
      }
code_tokens: public function rebuild ( ) { if ( file_exists ( $ this -> file ) ) { try { $ this -> data = unserialize ( file_get_contents ( $ this -> file ) ) ; return true ; } catch ( \ Exception $ e ) { // Try just used to suppress the exception. If the cache is corrupted we just start from scratch. } } $ this -> data = [ ] ; $ this -> persist ( ) ; return false ; }
docstring: Try to unserialize the existing cache, if it's corrupted, it's lost, let it go.
  
  @return bool
docstring_tokens: Try to unserialize the existing cache if it s corrupted it s lost let it go .