src/View/CsvView.php
protected function getBom($csvEncoding)
    {
        $csvEncoding = strtoupper($csvEncoding);

        return isset($this->bomMap[$csvEncoding]) ? $this->bomMap[$csvEncoding] : '';
    }
protected function getBom($csvEncoding)
    {
        $csvEncoding = strtoupper($csvEncoding);

        return isset($this->bomMap[$csvEncoding]) ? $this->bomMap[$csvEncoding] : '';
    }
protected function getBom ( $ csvEncoding ) { $ csvEncoding = strtoupper ( $ csvEncoding ) ; return isset ( $ this -> bomMap [ $ csvEncoding ] ) ? $ this -> bomMap [ $ csvEncoding ] : '' ; }
Returns the BOM for the encoding given.

@param string $csvEncoding The encoding you want the BOM for
@return string
Returns the BOM for the encoding given .