$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 |
createReader(string $readerType) : \PhpOffice\PhpSpreadsheet\Reader\IReader
Create Reader\IReader.
string | $readerType | Example: Xlsx |
createReaderForFile(string $filename) : \PhpOffice\PhpSpreadsheet\Reader\IReader
Create Reader\IReader for file using automatic Reader\IReader resolution.
string | $filename | The name of the spreadsheet file |