$filters
$filters : array<mixed,resource>
Attached filters.
An object oriented API to handle a PHP stream resource.
createFromPath(\League\Csv\string $path, \League\Csv\string $open_mode = 'r', resource|null $context = null) : static
Return a new instance from a file path.
\League\Csv\string | $path | |
\League\Csv\string | $open_mode | |
resource|null | $context |
if the stream resource can not be created
fputcsv(array $fields, \League\Csv\string $delimiter = ',', \League\Csv\string $enclosure = '"', \League\Csv\string $escape = '\\') : integer|false
Write a field array as a CSV line.
array | $fields | |
\League\Csv\string | $delimiter | |
\League\Csv\string | $enclosure | |
\League\Csv\string | $escape |
filterControl(\League\Csv\string $delimiter, \League\Csv\string $enclosure, \League\Csv\string $escape, \League\Csv\string $caller)
Filter Csv control characters.
\League\Csv\string | $delimiter | |
\League\Csv\string | $enclosure | |
\League\Csv\string | $escape | |
\League\Csv\string | $caller |
If the Csv control character is not one character only.