original_string: public function replaceContents(Array $replacements) {
      $this->writeContents(
        str_replace(
                    array_keys($replacements),
                    array_values($replacements),
                    $this->getContents()
                   )
      );
      return $this;
    }
code: public function replaceContents(Array $replacements) {
      $this->writeContents(
        str_replace(
                    array_keys($replacements),
                    array_values($replacements),
                    $this->getContents()
                   )
      );
      return $this;
    }
code_tokens: public function replaceContents ( Array $ replacements ) { $ this -> writeContents ( str_replace ( array_keys ( $ replacements ) , array_values ( $ replacements ) , $ this -> getContents ( ) ) ) ; return $ this ; }
docstring: Replaces the contents of the file
  @deprecated
docstring_tokens: Replaces the contents of the file