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

Vtiful\Kernel\Excel::__construct

PHP function Edit on GitHub ✎

(PECL xlswriter >= 1.2.1)

Vtiful\Kernel\Excel constructor

Description

Vtiful\Kernel\Excel::__construct(array $config)

Vtiful\Kernel\Excel constructor, create a class object.

Parameters

config

XLSX file export configuration

Examples

example

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

$excelObject = new \Vtiful\Kernel\Excel($config);
?>

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