Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse additional XML type information that can be used for encoding #21

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

veewee
Copy link
Member

@veewee veewee commented Jan 26, 2024

Q A
Type feature
BC Break no
Fixed issues

Summary

Parses additional XML type information. See
php-soap/engine#11

        return $engineType
            ->withXmlTargetNodeName($itemName ?: $typeName)
            ->withXmlTypeName($typeName)
            ->withXmlNamespace($typeNamespace)
            ->withXmlNamespaceName(
                $context->knownNamespaces->lookupNameFromNamespace($typeNamespace)->unwrapOr(
                    $engineType->getXmlNamespaceName()
                )
            )
            ->withXmlTargetNamespace($targetNamespace)
            ->withXmlTargetNamespaceName(
                $context->knownNamespaces->lookupNameFromNamespace($targetNamespace)->unwrapOr(
                    $engineType->getXmlNamespaceName()
                )
            );

@veewee veewee added the enhancement New feature or request label Jan 26, 2024
@veewee veewee merged commit dedf74f into php-soap:main Jan 26, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant