[SoapClient] Added exceptions and user_agent options
This commit is contained in:
parent
29a388eb7d
commit
bc9df9d2d7
|
@ -45,6 +45,8 @@ class SoapClient
|
||||||
'debug' => false,
|
'debug' => false,
|
||||||
'cache_type' => null,
|
'cache_type' => null,
|
||||||
'namespace' => null,
|
'namespace' => null,
|
||||||
|
'exceptions' => true,
|
||||||
|
'user_agent' => 'BeSimpleSoap',
|
||||||
);
|
);
|
||||||
|
|
||||||
// check option names and live merge, if errors are encountered Exception will be thrown
|
// check option names and live merge, if errors are encountered Exception will be thrown
|
||||||
|
@ -167,7 +169,9 @@ class SoapClient
|
||||||
'cache_wsdl' => $this->options['cache_type'],
|
'cache_wsdl' => $this->options['cache_type'],
|
||||||
'trace' => $this->options['debug'],
|
'trace' => $this->options['debug'],
|
||||||
'classmap' => $this->getClassmap(),
|
'classmap' => $this->getClassmap(),
|
||||||
|
'exceptions' => $this->options['exceptions'],
|
||||||
'typemap' => $this->getTypemap(),
|
'typemap' => $this->getTypemap(),
|
||||||
|
'user_agent' => $this->options['user_agent'],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue