(PECL xlswriter >= 1.2.1)
Vtiful\Kernel\Excel::fileName — Vtiful\Kernel\Excel fileName
Cria um novo arquivo xlsx e cria uma planilha.
fileName
Nome do arquivo XLSX.
sheetName
Nome da planilha.
Instância de Vtiful\Kernel\Excel.
Exemplo #1 Exemplo
<?php
$config = [
'path' => '/home/viest'
];
$fileObject = new \Vtiful\Kernel\Excel($config);
$file = $instance->fileName('tutorial.xlsx', 'sheet');
?>