original_string: public function replaceTextBatch(
          $batchId, Api\MtBatchTextSmsCreate $batch
      ) {
          $json = Serialize::textBatch($batch);
          $result = $this->_put($this->_batchUrl($batchId), $json);
          return Deserialize::batchResponse($result);
      }
code: public function replaceTextBatch(
          $batchId, Api\MtBatchTextSmsCreate $batch
      ) {
          $json = Serialize::textBatch($batch);
          $result = $this->_put($this->_batchUrl($batchId), $json);
          return Deserialize::batchResponse($result);
      }
code_tokens: public function replaceTextBatch ( $ batchId , Api \ MtBatchTextSmsCreate $ batch ) { $ json = Serialize :: textBatch ( $ batch ) ; $ result = $ this -> _put ( $ this -> _batchUrl ( $ batchId ) , $ json ) ; return Deserialize :: batchResponse ( $ result ) ; }
docstring: Replaces the batch with the given ID with the given text batch.
  
  @param string                   $batchId identifier of the batch
  @param Api\MtBatchTextSmsCreate $batch   the replacement batch
  
  @return Api\MtBatchTextSmsResult the resulting batch
docstring_tokens: Replaces the batch with the given ID with the given text batch .