--TEST-- Check for vtiful presence --SKIPIF-- --FILE-- './tests' ]; $fileObject = new \Vtiful\Kernel\Excel($config); $fileObject = $fileObject->fileName('format_align.xlsx'); $fileHandle = $fileObject->getHandle(); $format = new \Vtiful\Kernel\Format($fileHandle); $alignStyle = $format->align( \Vtiful\Kernel\Format::FORMAT_ALIGN_CENTER, \Vtiful\Kernel\Format::FORMAT_ALIGN_VERTICAL_CENTER )->toResource(); $filePath = $fileObject->header(['name', 'age']) ->data([ ['viest', 21], ['wjx', 21] ]) ->setRow('A1', 50, $alignStyle) ->setRow('A2:A3', 50, $alignStyle) ->output(); var_dump($filePath); ?> --CLEAN-- --EXPECT-- string(25) "./tests/format_align.xlsx"