BeSimpleSoap/src/BeSimple/SoapClient/SoapResponse.php

62 lines
1.2 KiB
PHP
Raw Normal View History

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