Vtiful\Kernel\Excel::constMemory

(PECL xlswriter >= 1.2.1)

Vtiful\Kernel\Excel::constMemoryVtiful\Kernel\Excel constMemory

Descripción

publicVtiful\Kernel\Excel::constMemory(string$fileName, string$sheetName = ?)

Escribe un archivo grande con un uso constante de la memoria.

Parámetros

fileName

Nombre del archivo XLSX

sheetName

Nombre de la hoja de trabajo

Valores devueltos

instancia Vtiful\Kernel\Excel

Ejemplos

Ejemplo #1 ejemplo

<?php
$config
= [
'path' => '/home/viest'
];

$fileObject = new \Vtiful\Kernel\Excel($config);

$file = $instance->constMemory('tutorial.xlsx', 'sheet');
?>
To Top