protected function setNamespaces(AbstractConverter $converter)
 {
     foreach ($this->targetNs as $xmlNs => $phpNs) {
         $converter->addNamespace($xmlNs, $phpNs);
     }
     foreach ($this->aliases as $alias) {
         $converter->addAliasMapType(isset($alias[0]) ? $alias[0] : $alias['ns'], isset($alias[1]) ? $alias[1] : $alias['name'], isset($alias[2]) ? $alias[2] : $alias['php']);
     }
 }
 public function __construct(NamingStrategy $namingStrategy)
 {
     parent::__construct($namingStrategy);
     $this->addAliasMap('http://www.w3.org/2001/XMLSchema', 'dateTime', function (Type $type) {
         return "GoetasWebservices\\Xsd\\XsdToPhp\\XMLSchema\\DateTime";
     });
     $this->addAliasMap('http://www.w3.org/2001/XMLSchema', 'time', function (Type $type) {
         return "GoetasWebservices\\Xsd\\XsdToPhp\\XMLSchema\\Time";
     });
     $this->addAliasMap("http://www.w3.org/2001/XMLSchema", "date", function (Type $type) {
         return "DateTime<'Y-m-d'>";
     });
 }
 public function __construct(NamingStrategy $namingStrategy, LoggerInterface $loggerInterface = null)
 {
     parent::__construct($namingStrategy, $loggerInterface);
     $this->addAliasMap("http://www.w3.org/2001/XMLSchema", "dateTime", function (Type $type) {
         return "DateTime";
     });
     $this->addAliasMap("http://www.w3.org/2001/XMLSchema", "time", function (Type $type) {
         return "DateTime";
     });
     $this->addAliasMap("http://www.w3.org/2001/XMLSchema", "date", function (Type $type) {
         return "DateTime";
     });
     $this->addAliasMap("http://www.w3.org/2001/XMLSchema", "anySimpleType", function (Type $type) {
         return "mixed";
     });
     $this->addAliasMap("http://www.w3.org/2001/XMLSchema", "anyType", function (Type $type) {
         return "mixed";
     });
 }