writeCsv()
writeCsv(array $csvData,string $fileName)
Writes the CSV data to a file located at `$fileName`.
Parameters
| array | $csvData | the CSV data including the header | 
| string | $fileName | the file to write the CSV data to | 
Throws
- \InvalidArgumentException
- if - $csvDatais null or- $fileNameis null