PHP Classes

File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/mock-objects/generator/wsdl_class_namespace.phpt

Recommend this page to a friend!
  Classes of Paulo Henrique  >  symfony-dual-login  >  bin/.phpunit/phpunit-7.5-0/tests/end-to-end/mock-objects/generator/wsdl_class_namespace.phpt  >  Download  
File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/mock-objects/generator/wsdl_class_namespace.phpt
Role: Example script
Content type: text/plain
Description: Example script
Class: symfony-dual-login
API to get user details using OAuth authentication
Author: By
Last change:
Date: 1 year ago
Size: 919 bytes


Class file image Download
\PHPUnit\Framework\MockObject\Generator::generateClassFromWsdl('GoogleSearch.wsdl', 'GoogleSearch')
if (!extension_loaded('soap')) echo 'skip: SOAP extension is required';
require __DIR__ . '/../../../../vendor/autoload.php';

$generator = new \PHPUnit\Framework\MockObject\Generator;

__DIR__ . '/../../../_files/GoogleSearch.wsdl',
namespace My\Space;

class GoogleSearch extends \SoapClient
    public function __construct($wsdl, array $options)
        parent::__construct('%s/GoogleSearch.wsdl', $options);

    public function doGoogleSearch($key, $q, $start, $maxResults, $filter, $restrict, $safeSearch, $lr, $ie, $oe)

    public function doGetCachedPage($key, $url)

    public function doSpellingSuggestion($key, $phrase)

For more information send a message to info at phpclasses dot org.