-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
This is:
- a bug report
- a feature request
Expected Behavior
Being able to create a block with an array of variables (aka foreach in templating).
In the docx "template":
Guests:
${CLONEME}
Forname: ${FORENAME}
Lastname: ${LASTNAME}
${/CLONEME}
In the code:
$templateProcessor->cloneBlock('CLONEME', [
['FORENAME' => 'John', 'LASTNAME' => 'Donut'],
['FORENAME' => 'Cat', 'LASTNAME' => 'Stefano']
]);
I want to start a discussion about this before I might implement it and send a PR.
DIDoS and eytanProxi
Metadata
Metadata
Assignees
Labels
No labels