concrete/src/Csv/EscapeFormula.php
protected function escapeField($cell)
    {
        if (!$this->isStringable($cell)) {
            return $cell;
        }
        $str_cell = (string) $cell;
        if (isset($str_cell[0], $this->special_chars[$str_cell[0]])) {
            return $this->escape.$str_cell;
        }
        return $cell;
    }
protected function escapeField($cell)
    {
        if (!$this->isStringable($cell)) {
            return $cell;
        }
        $str_cell = (string) $cell;
        if (isset($str_cell[0], $this->special_chars[$str_cell[0]])) {
            return $this->escape.$str_cell;
        }
        return $cell;
    }
protected function escapeField ( $ cell ) { if ( ! $ this -> isStringable ( $ cell ) ) { return $ cell ; } $ str_cell = ( string ) $ cell ; if ( isset ( $ str_cell [ 0 ] , $ this -> special_chars [ $ str_cell [ 0 ] ] ) ) { return $ this -> escape . $ str_cell ; } return $ cell ; }
Escape a CSV cell.

@return string
Escape a CSV cell .