遍历批注
函数原型
iterateComments(callable $callback, ?string $sheet = null): boolcallable $callback
string $sheet
回调参数
返回值
示例
Last updated
$config = ['path' => './tests'];
$excel = new \Vtiful\Kernel\Excel($config);
$excel->openFile('source.xlsx');
$excel->iterateComments(function (array $c) {
echo "[{$c['author']}] R{$c['row']}C{$c['col']}: {$c['text']}\n";
}, 'Sheet1');