CsvUtils
class CsvUtils (View source)
Methods to convert to / from a csv string.
Methods
static string
toString(string|array $data)
Ensure that the provided data is a string.
static
csvEscape(array $data, $delimiter = ',')
Convert a string to a csv.
static array
toList(string|array $data)
Return a specific named annotation for this command.
Details
static string
toString(string|array $data)
Ensure that the provided data is a string.
static
csvEscape(array $data, $delimiter = ',')
Convert a string to a csv.
static array
toList(string|array $data)
Return a specific named annotation for this command.