PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

Vtiful\Kernel\Excel::__construct

(PHP 7 >= 7.0.0, 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

范例

Example #1 example

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

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