Vtiful\Kernel\Excel::__construct

(PHP 7 >= 7.0.0, PECL xlswriter >= 1.2.1)

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

Description

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

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

Parameters

config

XLSX file export configuration

Return Values

Vtiful\Kernel\Excel instance

Examples

Example #1 example

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

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