original_string: public function setTransferEncoding($encoding)
      {
          $encoding = strtolower($encoding);
          if (!in_array($encoding, $this->_transferEncodingAvailable)) {
              throw new InvalidArgumentException(
                  sprintf(
                      'Transfer encoding not available. Can be : %s.',
                      implode(', ', $this->_transferEncodingAvailable)
                  )
              );
          }
          $this->transferEncoding = $encoding;
  
          return $this;
      }
code: public function setTransferEncoding($encoding)
      {
          $encoding = strtolower($encoding);
          if (!in_array($encoding, $this->_transferEncodingAvailable)) {
              throw new InvalidArgumentException(
                  sprintf(
                      'Transfer encoding not available. Can be : %s.',
                      implode(', ', $this->_transferEncodingAvailable)
                  )
              );
          }
          $this->transferEncoding = $encoding;
  
          return $this;
      }
code_tokens: public function setTransferEncoding ( $ encoding ) { $ encoding = strtolower ( $ encoding ) ; if ( ! in_array ( $ encoding , $ this -> _transferEncodingAvailable ) ) { throw new InvalidArgumentException ( sprintf ( 'Transfer encoding not available. Can be : %s.' , implode ( ', ' , $ this -> _transferEncodingAvailable ) ) ) ; } $ this -> transferEncoding = $ encoding ; return $ this ; }
docstring: TransferEncoding setter.
  
  @param string|null $encoding Encoding set.
  @return $this
docstring_tokens: TransferEncoding setter .