2
PHPUnit_Framework_MockObject_Generator::generateClassFromWsdl('GoogleSearch.wsdl', 'GoogleSearch', array('doGoogleSearch'))
5
if (!extension_loaded('soap')) echo 'skip: SOAP extension is required';
9
require __DIR__ . '/../../vendor/autoload.php';
11
$generator = new PHPUnit_Framework_MockObject_Generator;
13
print $generator->generateClassFromWsdl(
14
dirname(dirname(__FILE__)) . '/_fixture/GoogleSearch.wsdl',
16
array('doGoogleSearch')
20
class GoogleSearch extends \SoapClient
22
public function __construct($wsdl, array $options)
24
parent::__construct('%s/GoogleSearch.wsdl', $options);
27
public function doGoogleSearch($key, $q, $start, $maxResults, $filter, $restrict, $safeSearch, $lr, $ie, $oe)