goetas / xsd2php

Convert XSD into PHP classes and serialize into XML (deserialize too)
149 stars 62 forks source link

Annotations JMS #101

Closed alexis-gruet-deel closed 8 years ago

alexis-gruet-deel commented 8 years ago

Hello @goetas

a quick question, is there a magic way to output all JMS annotations during the PHP Class generation ?

goetas commented 8 years ago

Unfortunately there is not an easy way to do it.

The logic to generate PHP classes is quite complex, and the logic to generate JMS information it is also quite complex.

An idea can be to inject annotations in a second step (once php metadata are ready...), but to me it looks not worth. I think JMS yaml files are good enough.

goetas commented 8 years ago

out of scope for now sine YAML files are working pretty well