哈希空间 Ctrl + F 进行搜索
首页 php手册中文版 CSS中文手册 哈希文档 Markdown在线工具

PHP soapserver 组件

The SoapServer class

(PHP 5, PHP 7, PHP 8)

简介

The SoapServer class provides a server for the » SOAP 1.1 and » SOAP 1.2 protocols. It can be used with or without a WSDL service description.

类摘要

class SoapServer {
/* 属性 */
private resource $service;
private ?SoapFault $__soap_fault = null;
/* 方法 */
public __construct(?string $wsdl, array $options = [])
public addFunction(mixed $functions): void
public addSoapHeader(SoapHeader $header): void
public fault(
    string $code,
    string $string,
    string $actor = "",
    mixed $details = null,
    string $name = ""
): void
public getFunctions(): array
public handle(?string $request = null): void
public setClass(string $class, mixed ...$args): void
public setObject(object $object): void
public setPersistence(int $mode): void
}

属性

service

__soap_fault

目录

打开 哈希空间 微信小程序中查看更佳