I am using XSD-PHP for the first time . My goal is to convert XML files to PHP7 classes using XSD2PHP and then to covert those PHP classes to UML. I was able to generate an XML schema for the XML file I wanted and have it in a subdirectory within my project directory.
The following is the contents of my config.yml file
xsd2php: namespaces: '': 'IVR' destinations_php: 'IVR': classes destinations_jms: 'IVR': classes naming_strategy: short path_generator: psr4
I am using the following command:
vendor\bin\xsd2php convert config.yml C:...\XML_PHP\IVR\EKO2.xsd'
The error message I am getting in the command prompt is as follows
In ClassGenerator.php line 873: A method by name getNAME already exists in this class. convert <config> <src>...
Any help would be appreciated. I am using XSD-PHP to not have to write classes for each PHP file manually and intend on using in conjunction with Serializor and PHP_UML.
config.zip
I am using XSD-PHP for the first time . My goal is to convert XML files to PHP7 classes using XSD2PHP and then to covert those PHP classes to UML. I was able to generate an XML schema for the XML file I wanted and have it in a subdirectory within my project directory.
The following is the contents of my config.yml file
xsd2php: namespaces: '': 'IVR' destinations_php: 'IVR': classes destinations_jms: 'IVR': classes naming_strategy: short path_generator: psr4
I am using the following command: vendor\bin\xsd2php convert config.yml C:...\XML_PHP\IVR\EKO2.xsd'
The error message I am getting in the command prompt is as follows
In ClassGenerator.php line 873: A method by name getNAME already exists in this class. convert <config> <src>...
Any help would be appreciated. I am using XSD-PHP to not have to write classes for each PHP file manually and intend on using in conjunction with Serializor and PHP_UML.