@@ 91-95 (lines=5) @@ | ||
88 | private function generateParameters(DOMDocument $DOMDocument, Node $node, DOMElement $sequenceElement = null, string $soapVersion): array |
|
89 | { |
|
90 | $result = []; |
|
91 | if ($sequenceElement) { |
|
92 | $attributes = $this->attributes($node); |
|
93 | $elementPartElement = XMLAttributeHelper::forDOM($DOMDocument)->createElementWithAttributes('xsd:element', $attributes); |
|
94 | $sequenceElement->appendChild($elementPartElement); |
|
95 | } |
|
96 | if ($node->isArray()) { |
|
97 | $complexTypeElement = XMLAttributeHelper::forDOM($DOMDocument) |
|
98 | ->createElementWithAttributes('xsd:complexType', ['name' => $node->getNameForArray()]); |
@@ 85-89 (lines=5) @@ | ||
82 | private function generateParameters(DOMDocument $DOMDocument, Node $node, DOMElement $sequenceElement = null, string $soapVersion): array |
|
83 | { |
|
84 | $result = []; |
|
85 | if ($sequenceElement) { |
|
86 | $attributes = $this->attributes($node); |
|
87 | $elementPartElement = XMLAttributeHelper::forDOM($DOMDocument)->createElementWithAttributes('xsd:element', $attributes); |
|
88 | $sequenceElement->appendChild($elementPartElement); |
|
89 | } |
|
90 | if ($node->isArray()) { |
|
91 | $complexTypeElement = XMLAttributeHelper::forDOM($DOMDocument) |
|
92 | ->createElementWithAttributes('xsd:complexType', ['name' => $node->getNameForArray()]); |