PHP code example of ddesrosiers / classy-soap-client
1. Go to this page and download the library: Download ddesrosiers/classy-soap-client library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ddesrosiers / classy-soap-client example snippets
class SampleClient extends ClassySoapClient
{
/**
* @param InputClassA $one
* @param $two
* @return SampleMethodReturn
*/
public function sampleMethod(InputClassA $one, $two)
{
return $this->executeSoapCall(__FUNCTION__, get_defined_vars());
}
/**
* @param InputClassB $one
* @return OneArgMethodReturn[]
*/
public function oneArgMethod(InputClassB $one)
{
return $this->executeSoapCall(__FUNCTION__, $one);
}
}