getValue(); } // TODO: resolve Phpstan errors /** * Encode the given HTML content into docX, and * return the encoded content * * @param string $html * @param array $options * @return string */ public function encode(string $html, array $options = []): string { // $docx = new CreateDocx(); // $docx->embedHTML($html); // $tempFile = tempnam(sys_get_temp_dir(), 'docx'); // $docx->createDocx($tempFile); // $content = file_get_contents($tempFile); // unlink($tempFile); // return $content; return ""; } }