src/ShopProductExportBundle/objects/TPkgShopProductExportCSVEndPoint.class.php
protected function quoteFields(array $fields): array
    {
        if ('"' !== $this->sEnclosure) {
            return $fields;
        }

        return array_map(function ($element) {
            return \str_replace('"', '""', $element);
        }, $fields);
    }
protected function quoteFields(array $fields): array
    {
        if ('"' !== $this->sEnclosure) {
            return $fields;
        }

        return array_map(function ($element) {
            return \str_replace('"', '""', $element);
        }, $fields);
    }
protected function quoteFields ( array $ fields ) : array { if ( '"' !== $ this -> sEnclosure ) { return $ fields ; } return array_map ( function ( $ element ) { return \ str_replace ( '"' , '""' , $ element ) ; } , $ fields ) ; }
Quotes occurrences of the enclosure character within the passed fields.

@param string[] $fields

@return string[]
Quotes occurrences of the enclosure character within the passed fields .