| 1 | <?php |
||
| 17 | class CsvHandler extends StreamHandler |
||
| 18 | { |
||
| 19 | const DELIMITER = ','; |
||
| 20 | const ENCLOSURE = '\''; |
||
| 21 | const ESCAPE_CHAR = '\\'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @inheritdoc |
||
| 25 | */ |
||
| 26 | 2 | protected function streamWrite($stream, array $record): void |
|
| 42 | |||
| 43 | /** |
||
| 44 | * Gets the default formatter. |
||
| 45 | * |
||
| 46 | * Overwrite this if the LineFormatter is not a good default for your handler. |
||
| 47 | */ |
||
| 48 | protected function getDefaultFormatter(): FormatterInterface |
||
| 52 | } |
||
| 53 |