Property | Type | Description | |
---|---|---|---|
$converters | array | Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface[] |
Method | Description | |
---|---|---|
__construct ( array $converters = [] ) | Construct type converter collection | |
add ( Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface $converter ) : |
Add a type converter to the collection | |
has ( Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface $converter ) : boolean | Returns true if the collection contains a type converter for a certain namespace and name | |
set ( Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface $converter ) : |
Set (overwrite) a type converter in the collection | |
toSoapTypeMap ( ) : array | Get this collection as a typemap that can be used in PHP's \SoapClient |
Method | Description | |
---|---|---|
serialize ( Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface $converter ) : string |
public __construct ( array $converters = [] ) | ||
$converters | array | (optional) Array of type converters |
public add ( Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface $converter ) : |
||
$converter | Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface | Type converter |
return |
public set ( Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface $converter ) : |
||
$converter | Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface | Type converter |
return |
public toSoapTypeMap ( ) : array | ||
return | array |
protected array|TypeConverterInterface[],Phpro\SoapClient\Soap\TypeConverter $converters | ||
return | array | Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface[] |