applyWrapTextIfCellContainsNewLine()
protected method
Set the "wrap text" option if a cell of the given row contains a new line.
protected applyWrapTextIfCellContainsNewLine ( Style $style, array $dataRow ) : Style |
$style |
Box\Spout\Writer\Style\Style |
The original style |
$dataRow |
array |
The row the style will be applied to |
return |
Box\Spout\Writer\Style\Style |
The eventually updated style |