getFilename(__FILE__, 'html'); $writer = \PhpSpreadsheet\IOFactory::createWriter($spreadsheet, 'HTML'); $callStartTime = microtime(true); $writer->save($filename); $helper->logWrite($writer, $filename, $callStartTime);