-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Description
Is your feature request related to a problem? Please describe.
We implemented PhpWord for variables detection & replacement and it works well 👌
The problem is {{ }} variable syntax was needed in our case, but PhpWord actually used syntax ${ }.
So to fit our needs we did a monkey patch with a TemplateProcessorDecorator, but it's not a strong way to go...
Describe the solution you'd like
A solution would be to set the variable syntax customizable via the configuration.
Describe alternatives you've considered
An other solution would be to add the syntax to use as a param of some methods, such as getVariables()
FYI
If the issue is accepted, my team and I will be available to propose a merge-request 👍
hochgenug, Clowrid and ismail1432