xsd2php
xsd2php copied to clipboard
Convert XSD into PHP classes and serialize into XML (deserialize too)
How to resolve lost of NotNull validations? Tipo, Numero and Data elements are losting NotNull. **Old xsd:** ` > > > Ato regulatório de reconhecimento > > > > >...
Issue explained in Satckoverflow: https://stackoverflow.com/questions/59917635/serialize-to-xml-properties-with-attributes-using-jms-serializer-and-yaml-procuc Are there any solution or is it a bug?
Find a way to document 'enumerations' imposed by some SimpeTypes. A possible way can be: ``` php /** * Set the code doc... * @param string $code ... Possible values:...
Hi, This yml metadata was generated: ``` Mobile\Search\SearchResult: xml_root_name: search-result xml_root_namespace: 'http://services.mobile.de/schema/search' properties: total: expose: true access_type: public_method serialized_name: total xml_element: namespace: 'http://services.mobile.de/schema/search' accessor: getter: getTotal setter: setTotal type: integer...
I wanted to get values from xsd:enumeration elements in my project and I saw that @demonkoryu had done work to add that feature. This repo has been updated a bit...
Hi, I have a complex XSD that I reversed engineered into PHP classes and JMS YAML using this project. For simplicity, I am only focusing on the PHP class `EmployerId`...
Two naming strategies, which are use accurate properties naming from XSD. May be useful if you have `LikeThisOne` properties naming in XSD and you want same naming in generated classes.
When generating YAML metadata files to be used with JMS Serializer, it seems that for EACH element the XML namespace is defined in the resulting YAML files. Also for nested...
Is there a easy way to create classmap array to map soap types and generated phpclasses? If there isn't maybe would be good idea to add this feature?
First, thank you for your project. helps me a lot. I have problem while process following xml section: ``` xml ``` Error: [Zend\Code\Generator\Exception\InvalidArgumentException] A method by name getId already exists...