PHP Class Phpro\SoapClient\Client

Inheritance: implements ClientInterface
Show file Open project: phpro/soap-client Class Usage Examples

Protected Properties

Property Type Description
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$soapClient SoapClient

Public Methods

Method Description
__construct ( SoapClient $soapClient, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
applySoapHeaders ( SoapHeade\SoapHeader | SoapHeade\SoapHeader[] $soapHeaders )
changeSoapLocation ( string $location )
debugLastSoapRequest ( ) : array Make it possible to debug the last request.

Protected Methods

Method Description
call ( string $method, Phpro\SoapClient\Type\RequestInterface $request ) : Phpro\SoapClient\Type\ResultInterface

Method Details

__construct() public method

public __construct ( SoapClient $soapClient, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
$soapClient SoapClient
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

applySoapHeaders() public method

public applySoapHeaders ( SoapHeade\SoapHeader | SoapHeade\SoapHeader[] $soapHeaders )
$soapHeaders SoapHeade\SoapHeader | SoapHeade\SoapHeader[]

call() protected method

protected call ( string $method, Phpro\SoapClient\Type\RequestInterface $request ) : Phpro\SoapClient\Type\ResultInterface
$method string
$request Phpro\SoapClient\Type\RequestInterface
return Phpro\SoapClient\Type\ResultInterface

changeSoapLocation() public method

public changeSoapLocation ( string $location )
$location string

debugLastSoapRequest() public method

Make it possible to debug the last request.
public debugLastSoapRequest ( ) : array
return array

Property Details

$dispatcher protected property

protected EventDispatcherInterface,Symfony\Component\EventDispatcher $dispatcher
return Symfony\Component\EventDispatcher\EventDispatcherInterface

$soapClient protected property

protected SoapClient $soapClient
return SoapClient