Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
veewee committed Jun 24, 2020
1 parent cbfa55a commit 2184e40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/wsdl-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $options = ExtSoapOptions::defaults('my.wsdl')

Here is a list of built-in providers:

- [CachedWsdlProvider](#cached wsdl provider)
- [CachedWsdlProvider](#cachedwsdlprovider)
- [~~HttPlugWsdlProvider~~](#httplugwsdlprovider)
- [InMemoryWsdlProvider](#inmemorywsdlprovider)
- [LocalWsdlProvider](#localwsdlprovider)
Expand Down Expand Up @@ -57,12 +57,12 @@ use Symfony\Component\Filesystem\Filesystem;

$loader = new HttpWsdlLoader(
new PluginClient($httpClient, [
// You can add WSDL middlewares in here ...
// You can add WSDL middlewares in here. E.g.: authentication, manipulations, ...
]),
Psr17FactoryDiscovery::findRequestFactory
Psr17FactoryDiscovery::findRequestFactory()
);
$provider = new CachedWsdlProvider($loader, new Filesystem(), sys_get_temp_dir());
$wsdl = $provider->provide('http://somehost/service.wsdl');
$wsdl = $provider->provide('https://somehost/service.wsdl');
```

**Download permanent cache**
Expand Down

0 comments on commit 2184e40

Please sign in to comment.