--TEST-- Check for vtiful presence --SKIPIF-- --FILE-- './tests' ]; $fileObject = new \Vtiful\Kernel\Excel($config); $fileObject = $fileObject->fileName('insert_url_format.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] ]) ->insertUrl(3, 0, 'https://github.com', NULL, NULL, $alignStyle) ->output(); var_dump($filePath); ?> --CLEAN-- --EXPECT-- string(30) "./tests/insert_url_format.xlsx"