Goetas\Xsd\XsdToPhp\Jms\YamlConverter::__construct PHP Method

__construct() public method

public __construct ( Goetas\Xsd\XsdToPhp\Naming\NamingStrategy $namingStrategy )
$namingStrategy Goetas\Xsd\XsdToPhp\Naming\NamingStrategy
    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'>";
        });
    }