original_string: protected function _saveMetadatas($id, $metadatas)
      {
          $file = $this->_metadatasFile($id);
          $result = $this->_filePutContents($file, serialize($metadatas));
          if (!$result) {
              return false;
          }
          return true;
      }
code: protected function _saveMetadatas($id, $metadatas)
      {
          $file = $this->_metadatasFile($id);
          $result = $this->_filePutContents($file, serialize($metadatas));
          if (!$result) {
              return false;
          }
          return true;
      }
code_tokens: protected function _saveMetadatas ( $ id , $ metadatas ) { $ file = $ this -> _metadatasFile ( $ id ) ; $ result = $ this -> _filePutContents ( $ file , serialize ( $ metadatas ) ) ; if ( ! $ result ) { return false ; } return true ; }
docstring: Save metadatas to disk
  
  @param  string $id        Cache id
  @param  array  $metadatas Associative array
  @return boolean True if no problem
docstring_tokens: Save metadatas to disk