moved client specific code to SoapClient
This commit is contained in:
parent
9b912a51b2
commit
587e421dca
|
@ -113,9 +113,6 @@ class SoapKernel
|
||||||
*/
|
*/
|
||||||
public function filterRequest(SoapRequest $request)
|
public function filterRequest(SoapRequest $request)
|
||||||
{
|
{
|
||||||
$request->setAttachments($this->attachments);
|
|
||||||
$this->attachments = array();
|
|
||||||
|
|
||||||
foreach ($this->requestFilters as $filter) {
|
foreach ($this->requestFilters as $filter) {
|
||||||
$filter->filterRequest($request);
|
$filter->filterRequest($request);
|
||||||
}
|
}
|
||||||
|
@ -131,7 +128,5 @@ class SoapKernel
|
||||||
foreach ($this->responseFilters as $filter) {
|
foreach ($this->responseFilters as $filter) {
|
||||||
$filter->filterResponse($response);
|
$filter->filterResponse($response);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->attachments = $response->getAttachments();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue