/
v.bolshakov
/
AIEcosystem-Testing
Обзор
Документация
Войти
/
v.bolshakov
/
AIEcosystem-Testing
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
dev
common/components/soap/SoapKernel.php
47 строк
1 KB
Developer
Initial commit
03 авг 2026, 17:43
03 авг 2026, 17:43
7433917
Код
Авторство
О чём код?
<?php /* * This file is part of the BeSimpleSoapCommon. * * (c) Christian Kerl <christian-kerl@web.de> * (c) Francis Besset <francis.besset@gmail.com> * (c) Andreas Schamberger <mail@andreass.net> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace common\components\soap; use BeSimple\SoapCommon\SoapKernel as CommonSoapKernel; use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest; use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse; /** * SoapKernel for Client. * * @author Andreas Schamberger <mail@andreass.net> */ class SoapKernel extends CommonSoapKernel { /** * {@inheritDoc} */ public function filterRequest(CommonSoapRequest $request) { $request->setAttachments($this->attachments); $this->attachments = array(); parent::filterRequest($request); } /** * {@inheritDoc} */ public function filterResponse(CommonSoapResponse $response) { parent::filterResponse($response); $this->attachments = $response->getAttachments(); } }