(PECL xlswriter >= 1.2.1)
Vtiful\Kernel\Excel::mergeCells — Vtiful\Kernel\Excel 合并单元格
scope
单元格开始和结束坐标字符串
data
字符串数据
示例 #1 示例
<?php
$config = [
'path' => './tests'
];
$excel = new \Vtiful\Kernel\Excel($config);
$excel->fileName("test.xlsx")
->mergeCells('A1:C1', 'Merge cells')
->output();