|
static | createFromFile (string $path) |
| This creates an instance of the appropriate writer, given the extension of the file to be written.
|
|
◆ createFromFile()
static OpenSpout\Writer\Common\Creator\WriterFactory::createFromFile |
( |
string | $path | ) |
|
|
static |
This creates an instance of the appropriate writer, given the extension of the file to be written.
- Parameters
-
string | $path | The path to the spreadsheet file. Supported extensions are .csv,.ods and .xlsx |
- Exceptions
-
The documentation for this class was generated from the following file:
- lib/openspout/src/Writer/Common/Creator/WriterFactory.php