XLSWriter Vtiful\Kernel\Excel::mergeCells
(PECL xlswriter >= 1.2.1)
Vtiful\Kernel\Excel::mergeCells — Vtiful\Kernel\Excel mergeCells
설명
public Vtiful\Kernel\Excel::mergeCells(string $scope
, string $data
)
셀 병합.
매개변수
scope
- 셀 시작 및 끝 좌표 문자열
data
- string data
반환 값
Vtiful\Kernel\Excel 인스턴스
Examples
예제 #1 예제
<?php
$config = [
'path' => './tests'
];
$excel = new \Vtiful\Kernel\Excel($config);
$excel->fileName("test.xlsx")
->mergeCells('A1:C1', 'Merge cells')
->output();