(PECL xlswriter >= 1.2.1)
Vtiful\Kernel\Excel::constMemory — Vtiful\Kernel\Excel constMemory
Grava um arquivo grande com uso constante de memória.
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->constMemory('tutorial.xlsx', 'sheet');
?>