- changed status to resolved
Param syntax parser
Issue #4
resolved
The macro now has a fixed params syntax. It should be possible to define own syntax and possibly provide one or two predefined options.
Proposal:
- Create a ParamParserInterface defining a parse() method
- Create a QueryStringParamParser transforming the params just as it does now (using
parse_str
). - Create an XMLAttribParamParser transforming params as if they were attributes on an XML tag.
- Inject the parser into uMacro ctor.
Comments (1)
-
reporter - Log in to comment
Done & merged to master