|
|
|
@@ -51,8 +51,7 @@ class UseSummaryCSVController extends HelloTechnoController |
|
|
|
|
|
|
|
$list = $this->repository->forCsv()->get($condition); |
|
|
|
|
|
|
|
// $csv = new CsvFile($this->getHeaderLabel(), CsvFile::ENCODE_SJIS); |
|
|
|
$csv = new CsvFile($this->getHeaderLabel()); |
|
|
|
$csv = new CsvFile($this->getHeaderLabel(), CsvFile::ENCODE_SJIS); |
|
|
|
foreach ($list as $row) { |
|
|
|
$csv->addLine($row->toArray()); |
|
|
|
} |
|
|
|
|