Skip to content

Commit

Permalink
Add context options
Browse files Browse the repository at this point in the history
  • Loading branch information
john committed Oct 1, 2017
1 parent 93704af commit 20905f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/GusApi/Adapter/Soap/SoapAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ class SoapAdapter implements AdapterInterface
*
* @param string $baseUrl
* @param string $address
* @param array $contextOptions
*/
public function __construct($baseUrl, $address)
public function __construct($baseUrl, $address, array $contextOptions = null)
{
$this->baseUrl = $baseUrl;
$this->address = $address;
Expand All @@ -42,7 +43,7 @@ public function __construct($baseUrl, $address)
'soap_version' => SOAP_1_2,
'trace' => true,
'style' => SOAP_DOCUMENT
]);
], $contextOptions);
}

/**
Expand Down

0 comments on commit 20905f8

Please sign in to comment.