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-11-05 01:20:13 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();