laravel-soap
laravel-soap copied to clipboard
location() method option does not exist
When calling location method, we receive "Call to undefined method Artisaninweb\SoapWrapper\Service::location()".
Looking for some workaround, I have already seen that the location method can be passed as an option from the options method. But if the method is in the readme as a possible option, location method should be either work or be removed from the docs.
DOES NOT WORK:
$service->wsdl($wsdl)->trace(true)->location($location)
WORKS:
$service->wsdl($wsdl)->trace(true)->options(['user_agent' => 'PHPSoapClient', 'location' => $location ]);
The location function is only availabe for the client, read the source code
