@@ -7,33 +7,39 @@ interface SoapClientInterface
77 /**
88 * Magic method to simplify SOAP call. This method is asynchronous.
99 *
10- * @param string $name Operation name
11- * @param array $arguments Operation arguments
12- * @return Promise instance with a then method
10+ * @param string $name The name of the SOAP function to call.
11+ * @param array $arguments An array of the arguments to pass to the function.
12+ * @return mixed A promise object whose behavior conforms to https://promisesaplus.com.
1313 */
1414 public function __call ($ name , $ arguments );
1515
1616 /**
1717 * Synchronous SOAP call.
1818 *
19- * @param string $name Operation name
20- * @param array $arguments Operation arguments
21- * @param array $options Options
22- * @param mixed $inputHeaders Input SOAP headers
23- * @param array $outputHeaders Output SOAP headers
24- * @return mixed
19+ * @param string $name The name of the SOAP function to call.
20+ * @param array $arguments An array of the arguments to pass to the function.
21+ * @param array $options An associative array of options to pass to the client.
22+ * The location option is the URL of the remote Web service.
23+ * The uri option is the target namespace of the SOAP service.
24+ * The soapaction option is the action to call.
25+ * @param mixed $inputHeaders An array of headers to be sent along with the SOAP request.
26+ * @param array $outputHeaders If supplied, this array will be filled with the headers from the SOAP response.
27+ * @return mixed The eventual value of promise returned from callAsync.
2528 */
2629 public function call ($ name , array $ arguments , array $ options = null , $ inputHeaders = null , array &$ outputHeaders = null );
2730
2831 /**
2932 * Asynchronous SOAP call.
3033 *
31- * @param string $name Operation name
32- * @param array $arguments Operation arguments
33- * @param array $options Options
34- * @param mixed $inputHeaders Input SOAP headers
35- * @param array $outputHeaders Output SOAP headers
36- * @return Promise instance with a then method
34+ * @param string $name The name of the SOAP function to call.
35+ * @param array $arguments An array of the arguments to pass to the function.
36+ * @param array $options An associative array of options to pass to the client.
37+ * The location option is the URL of the remote Web service.
38+ * The uri option is the target namespace of the SOAP service.
39+ * The soapaction option is the action to call.
40+ * @param mixed $inputHeaders An array of headers to be sent along with the SOAP request.
41+ * @param array $outputHeaders If supplied, this array will be filled with the headers from the SOAP response.
42+ * @return mixed A promise object whose behavior conforms to https://promisesaplus.com.
3743 */
3844 public function callAsync ($ name , array $ arguments , array $ options = null , $ inputHeaders = null , array &$ outputHeaders = null );
3945}
0 commit comments