34 lines
854 B
PHP
34 lines
854 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* This file is part of the BeSimpleSoapBundle.
|
||
|
*
|
||
|
* (c) Christian Kerl <christian-kerl@web.de>
|
||
|
* (c) Francis Besset <francis.besset@gmail.com>
|
||
|
*
|
||
|
* This source file is subject to the MIT license that is bundled
|
||
|
* with this source code in the file LICENSE.
|
||
|
*/
|
||
|
|
||
|
namespace BeSimple\SoapClient;
|
||
|
|
||
|
/**
|
||
|
* Provides a SoapClient instance.
|
||
|
*
|
||
|
* @author Francis Besset <francis.besset@gmail.com>
|
||
|
* @author Christian Kerl <christian-kerl@web.de>
|
||
|
* @author Petr Bechyně <petr.bechyne@vodafone.com>
|
||
|
*/
|
||
|
class SoapClientOptionsBuilder
|
||
|
{
|
||
|
public static function createWithDefaults()
|
||
|
{
|
||
|
return new SoapClientOptions(
|
||
|
SoapClientOptions::SOAP_CLIENT_TRACE_OFF,
|
||
|
SoapClientOptions::SOAP_CLIENT_EXCEPTIONS_ON,
|
||
|
'BeSimpleSoap',
|
||
|
SoapClientOptions::SOAP_CLIENT_COMPRESSION_NONE
|
||
|
);
|
||
|
}
|
||
|
}
|