goetas-webservices / xsd2php

Convert XSD into PHP classes and JMS serializer definitions
MIT License
234 stars 88 forks source link

where are the simpleType restrictions? #158

Open caicob opened 10 months ago

caicob commented 10 months ago

I even managed to generate the code from XSD, but the simple type xsd has restrictions for each type and these restrictions were not generated in the code. did I do something wrong?

for example: XSD: `

` php: `telefone; } /** * Sets a new telefone * * @param string $telefone * @return self */ public function setTelefone($telefone) { $this->telefone = $telefone; return $this; } /** * Gets as email * * @return string */ public function getEmail() { return $this->email; } /** * Sets a new email * * @param string $email * @return self */ public function setEmail($email) { $this->email = $email; return $this; } } `