Vtiful\Kernel\Excel::__construct

(PECL xlswriter >= 1.2.1)

Vtiful\Kernel\Excel::__constructVtiful\Kernel\Excel constructor

说明

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

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

参数

config

XLSX file export configuration

返回值

Vtiful\Kernel\Excel instance

范例

示例 #1 example

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

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