Replace call to save with saveAs to save the document.
This commit is contained in:
parent
db5252541d
commit
47c7fab091
|
|
@ -51,4 +51,4 @@ $document->setValue('userFirstName#3', 'Michael');
|
||||||
$document->setValue('userName#3', 'Ray');
|
$document->setValue('userName#3', 'Ray');
|
||||||
$document->setValue('userPhone#3', '+1 428 889 775');
|
$document->setValue('userPhone#3', '+1 428 889 775');
|
||||||
|
|
||||||
$document->save('Sample_03_TemplateCloneRow_result.docx');
|
$document->saveAs('Sample_07_TemplateCloneRow_result.docx');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue