metasyntactical/php-soap-client-options

Allows for handling PHP Soap Client options in a way that validity and type safety are assured.

v0.3.0 2019-12-04 13:58 UTC

This package is auto-updated.

Last update: 2024-12-05 01:28:59 UTC


README

Allows for handling PHP Soap Client options in a way that validity and type safety are assured.

Usage

Minimal example

$location = new \MetaSyntactical\SoapClientOptions\Params\Location('https://soap-endpoint.example.com');
$options = new \MetaSyntactical\SoapClientOptions\Options($location);
new \SoapClient($wsdl, $options->getOptionsArray();