Vtiful\Kernel\Excel::__construct
(PHP 7 >= 7.0.0, PECL xlswriter >= 1.2.1)
Vtiful\Kernel\Excel::__construct — Vtiful\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);
?>