original_string: protected function getCellXMLFragmentForNonEmptyString($cellValue)
      {
          if ($this->stringHelper->getStringLength($cellValue) > self::MAX_CHARACTERS_PER_CELL) {
              throw new InvalidArgumentException('Trying to add a value that exceeds the maximum number of characters allowed in a cell (32,767)');
          }
  
          if ($this->shouldUseInlineStrings) {
              $cellXMLFragment = ' t="inlineStr"><is><t>' . $this->stringsEscaper->escape($cellValue) . '</t></is></c>';
          } else {
              $sharedStringId = $this->sharedStringsHelper->writeString($cellValue);
              $cellXMLFragment = ' t="s"><v>' . $sharedStringId . '</v></c>';
          }
  
          return $cellXMLFragment;
      }
code: protected function getCellXMLFragmentForNonEmptyString($cellValue)
      {
          if ($this->stringHelper->getStringLength($cellValue) > self::MAX_CHARACTERS_PER_CELL) {
              throw new InvalidArgumentException('Trying to add a value that exceeds the maximum number of characters allowed in a cell (32,767)');
          }
  
          if ($this->shouldUseInlineStrings) {
              $cellXMLFragment = ' t="inlineStr"><is><t>' . $this->stringsEscaper->escape($cellValue) . '</t></is></c>';
          } else {
              $sharedStringId = $this->sharedStringsHelper->writeString($cellValue);
              $cellXMLFragment = ' t="s"><v>' . $sharedStringId . '</v></c>';
          }
  
          return $cellXMLFragment;
      }
code_tokens: protected function getCellXMLFragmentForNonEmptyString ( $ cellValue ) { if ( $ this -> stringHelper -> getStringLength ( $ cellValue ) > self :: MAX_CHARACTERS_PER_CELL ) { throw new InvalidArgumentException ( 'Trying to add a value that exceeds the maximum number of characters allowed in a cell (32,767)' ) ; } if ( $ this -> shouldUseInlineStrings ) { $ cellXMLFragment = ' t="inlineStr"><is><t>' . $ this -> stringsEscaper -> escape ( $ cellValue ) . '</t></is></c>' ; } else { $ sharedStringId = $ this -> sharedStringsHelper -> writeString ( $ cellValue ) ; $ cellXMLFragment = ' t="s"><v>' . $ sharedStringId . '</v></c>' ; } return $ cellXMLFragment ; }
docstring: Returns the XML fragment for a cell containing a non empty string
  
  @param string $cellValue The cell value
  @return string The XML fragment representing the cell
  @throws InvalidArgumentException If the string exceeds the maximum number of characters allowed per cell
docstring_tokens: Returns the XML fragment for a cell containing a non empty string