function addComplexType(
        $name, $typeClass = 'complexType', $phpType = 'array', $compositor = '', $restrictionBase = '', $elements = [], $attrs = [],
        $arrayType = ''
    ) {
        $this->complexTypes[$name] = [
            'name'            => $name,
            'typeClass'       => $typeClass,
            'phpType'         => $phpType,
            'compositor'      => $compositor,
            'restrictionBase' => $restrictionBase,
            'elements'        => $elements,
            'attrs'           => $attrs,
            'arrayType'       => $arrayType
        ];

        $this->xdebug("addComplexType $name:");
        $this->appendDebug($this->varDump($this->complexTypes[$name]));
    }