'How ro configue a namespace mapping in jms-serializer?
I am using jms-serilizer to de-serialize my PHP objects to XML format and vice versa. my Objects are coming from some third-party library and they have their specific namespaces, but I want to send the XML generated by my serialization to some server that forces me to set the namespace of the XML file to some desired constant value. Now how can I map the namespace of the objects to some desired constant string? consider that the objects come from another library and using annotation is not an option.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
