Asmir Mustafic

Results 525 comments of Asmir Mustafic

Of course, the case exposed by you ("array elements") having just `add` is more appropriate than `addTo`

Can you check if this (https://github.com/goetas/xsd2php/tree/adder-name) branch works for you?

PR are welcome :smile:

This is a know limitation. I had some idea on how to tackle it... If someone need this feature and is interested to implement it, i'm open to talk about...

Actually this is a big issue... the propouse of this project is to create some kind of xsd2php "fancy" mapper... the aim of this project is to hide the XML...

The "microsoft" way is good because in xsd you can have also: ``` xml ``` This edge case is not handled by this library....

probably out of scope for now

The main idea is to do not have special custom behavior coded directly into the project, probably a "custom plugin" here will be the best. See the idea expressed here...

This https://github.com/goetas/xsd2php/blob/master/tests/JmsSerializer/OTA/OTASerializationTest.php and https://github.com/goetas/xsd2php/blob/master/tests/PHP/PHPConversionTest.php will be a good example.

A class map? In the composer and psr 1/4 era, class maps can be easily generated. Maybe I've misinterpreted the question... Il 15/lug/2015 14:45, "Vytautas Stankus" [email protected] ha scritto: >...