$readers
$readers
Factory to create readers and writers easily.
It is not required to use this class, but it should make it easier to read and write files. Especially for reading files with an unknown format.
createWriter(\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, string $writerType) : \PhpOffice\PhpSpreadsheet\Writer\IWriter
Create Writer\IWriter.
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
string | $writerType | Example: Xlsx |