Vtiful\Kernel\Excel::constMemory

(PECL xlswriter >= 1.2.1)

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

説明

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

Write a large file with constant memory usage.

パラメータ

fileName

XLSX file name

sheetName

Worksheet name

戻り値

Vtiful\Kernel\Excel instance

例1 example

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

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

$file $instance->constMemory('tutorial.xlsx''sheet');
?>
関連キーワード:  Kernel, Vtiful, constMemory, string, fileName, sheetName, file, usage, instance, Worksheet