2011-12-11 21:20:35 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace BeSimple\SoapClient;
|
|
|
|
|
2017-04-04 18:36:18 +02:00
|
|
|
use BeSimple\SoapCommon\SoapRequest;
|
2011-12-11 21:20:35 +01:00
|
|
|
use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse;
|
|
|
|
|
|
|
|
class SoapResponse extends CommonSoapResponse
|
|
|
|
{
|
2017-02-22 12:09:22 +01:00
|
|
|
/** @var mixed */
|
2017-02-17 03:19:22 +01:00
|
|
|
protected $responseObject;
|
2017-02-22 12:09:22 +01:00
|
|
|
/** @var SoapResponseTracingData */
|
|
|
|
protected $tracingData;
|
2017-04-04 18:36:18 +02:00
|
|
|
/** @var SoapRequest */
|
|
|
|
protected $request;
|
2017-02-17 03:19:22 +01:00
|
|
|
|
2017-02-03 15:22:37 +01:00
|
|
|
public function getResponseContent()
|
2011-12-11 21:20:35 +01:00
|
|
|
{
|
2017-02-03 15:22:37 +01:00
|
|
|
return $this->getContent();
|
2011-12-11 21:20:35 +01:00
|
|
|
}
|
2017-02-17 03:19:22 +01:00
|
|
|
|
|
|
|
public function getResponseObject()
|
|
|
|
{
|
|
|
|
return $this->responseObject;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setResponseObject($responseObject)
|
|
|
|
{
|
|
|
|
$this->responseObject = $responseObject;
|
|
|
|
}
|
2017-02-22 12:09:22 +01:00
|
|
|
|
|
|
|
public function hasTracingData()
|
|
|
|
{
|
|
|
|
return $this->tracingData !== null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getTracingData()
|
|
|
|
{
|
|
|
|
return $this->tracingData;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setTracingData(SoapResponseTracingData $tracingData)
|
|
|
|
{
|
|
|
|
$this->tracingData = $tracingData;
|
|
|
|
}
|
2017-04-04 18:36:18 +02:00
|
|
|
|
|
|
|
public function setRequest(SoapRequest $request)
|
|
|
|
{
|
|
|
|
$this->request = $request;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getRequest()
|
|
|
|
{
|
|
|
|
return $this->request;
|
|
|
|
}
|
2013-12-02 15:14:06 +01:00
|
|
|
}
|