php8.5
Home/ Manual/ xlswriter / xlsx-kernel/ Vtiful\Kernel\Excel::getHandle

Vtiful\Kernel\Excel::getHandle

PHP function Edit on GitHub ✎

(PECL xlswriter >= 1.2.1)

Vtiful\Kernel\Excel getHandle

Description

Vtiful\Kernel\Excel::getHandle()

Get the xlsx text resource handle.

Parameters Parameters

Return Values

Resource

Examples

example

php
<?php
$config = [
    'path' => './tests'
];

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

$file = $fileObject->fileName('tutorial.xlsx', 'sheet_one')
    ->header(['name', 'age']);

$handle = $file->getHandle();
?>

Source: reference/xlswriter/xlsx-kernel/get-handle.xml · from the official PHP manual (php/doc-en)