tuscanicz / BeSimpleSoap

A largely refactored BeSimple/Soap library used to build SOAP and WSDL based web services. This fork fixes a lot of errors and provides better API, robust, stable and modern codebase. The Api differs so much, that it won't be merged into original repository. If you find an error, please, report an issue here.
8 stars 7 forks source link

SoapResponse and SoapRequest must be immutable #6

Open tuscanicz opened 7 years ago

tuscanicz commented 7 years ago

In order to make the code more readable and less confusing, response and request objects must be immutable. Moreover, these objects are often used outside the library in application, so the developers should not modify the objects returned from SOAP.