PHP Class Phpro\SoapClient\ClientBuilder

Datei anzeigen Open project: phpro/soap-client

Public Methods

Method Description
__construct ( Phpro\SoapClient\ClientFactoryInterface $clientFactory, string $wsdl, array $soapOptions = [] )
addClassMap ( Phpro\SoapClient\Soap\ClassMap\ClassMapInterface $classMap )
addTypeConverter ( Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface $typeConverter )
build ( ) : ClientInterface
withClassMaps ( ClassMapCollection $classMaps )
withEventDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
withLogger ( Psr\Log\LoggerInterface $logger )
withTypeConverter ( TypeConverterCollection $converters )

Method Details

__construct() public method

public __construct ( Phpro\SoapClient\ClientFactoryInterface $clientFactory, string $wsdl, array $soapOptions = [] )
$clientFactory Phpro\SoapClient\ClientFactoryInterface
$wsdl string
$soapOptions array

addClassMap() public method

public addClassMap ( Phpro\SoapClient\Soap\ClassMap\ClassMapInterface $classMap )
$classMap Phpro\SoapClient\Soap\ClassMap\ClassMapInterface

addTypeConverter() public method

public addTypeConverter ( Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface $typeConverter )
$typeConverter Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface

build() public method

public build ( ) : ClientInterface
return ClientInterface

withClassMaps() public method

public withClassMaps ( ClassMapCollection $classMaps )
$classMaps Phpro\SoapClient\Soap\ClassMap\ClassMapCollection

withEventDispatcher() public method

public withEventDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

withLogger() public method

public withLogger ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface

withTypeConverter() public method

public withTypeConverter ( TypeConverterCollection $converters )
$converters Phpro\SoapClient\Soap\TypeConverter\TypeConverterCollection