vallbo/soap-service-layer
最新稳定版本:0.1.0
Composer 安装命令:
composer require vallbo/soap-service-layer
包简介
SOAP service layer
README 文档
README
Service Layer vendor, for SOA communication (SOAP).
Installation
For installation use composer:
composer require vallbo/soap-service-layer
Adapters
Vallbo\SoapServiceLayer\Adapter\BasicAdapter
Configuration
- dependencies
- soapClientFactory - Vallbo\SoapServiceLayer\Adapter\SoapClientFactoryInterface - factory for creating SOAP client.
- responseFactory - Vallbo\SoapServiceLayer\Response\ResponseFactoryInterface - response factory for creating specific response.
- logger - if you want log what is going on in adapter, provide your logger service (PSR-3).
- cache - if you want cache responses, provide your cache service (PSR-16).
- cacheTTL - cache TTL for cache items.
Exception
SoapFault is wrapped to Vallbo\SoapServiceLayer\Exception\SoapException. You can find SoapFault in previous exception in SoapException object.
Response
Response returned by adapter implements Vallbo\SoapServiceLayer\Response\SoapResponseInterface.
We provide default response object Vallbo\SoapServiceLayer\Response\SoapResponse and default response factory Vallbo\SoapServiceLayer\Response\ResponseFactory for faster implementation.
统计信息
- 总下载量: 6.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-04-24