コード例 #1
0
ファイル: ClientBuilder.php プロジェクト: phpro/soap-client
 /**
  * @return ClientInterface
  */
 public function build()
 {
     $soapClientFactory = new SoapClientFactory($this->classMaps, $this->converters);
     $soapClient = $soapClientFactory->factory($this->wsdl, $this->soapOptions);
     if ($this->logger) {
         $this->dispatcher->addSubscriber(new LogPlugin($this->logger));
     }
     return $this->clientFactory->factory($soapClient, $this->dispatcher);
 }