123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <?php
- /** @generate-class-entries */
- function use_soap_error_handler(bool $enable = true): bool {}
- function is_soap_fault(mixed $object): bool {}
- class SoapParam
- {
- public string $param_name;
- public mixed $param_data;
- public function __construct(mixed $data, string $name) {}
- }
- class SoapHeader
- {
- public string $namespace;
- public string $name;
- public mixed $data = null;
- public bool $mustUnderstand;
- public string|int|null $actor;
- public function __construct(string $namespace, string $name, mixed $data = UNKNOWN, bool $mustUnderstand = false, string|int|null $actor = null) {}
- }
- class SoapFault extends Exception
- {
- public string $faultstring;
- public ?string $faultcode = null;
- public ?string $faultcodens = null;
- public ?string $faultactor = null;
- public mixed $detail = null;
- public ?string $_name = null;
- public mixed $headerfault = null;
- public function __construct(array|string|null $code, string $string, ?string $actor = null, mixed $details = null, ?string $name = null, mixed $headerFault = null) {}
- public function __toString(): string {}
- }
- class SoapVar
- {
- public int $enc_type;
- public mixed $enc_value = null;
- public ?string $enc_stype = null;
- public ?string $enc_ns = null;
- public ?string $enc_name = null;
- public ?string $enc_namens = null;
- public function __construct(mixed $data, ?int $encoding, ?string $typeName = null, ?string $typeNamespace = null, ?string $nodeName = null, ?string $nodeNamespace = null) {}
- }
- class SoapServer
- {
- /** @var resource */
- private $service;
- private ?SoapFault $__soap_fault = null;
- public function __construct(?string $wsdl, array $options = []) {}
- /** @tentative-return-type */
- public function fault(string $code, string $string, string $actor = "", mixed $details = null, string $name = ""): void {}
- /** @tentative-return-type */
- public function addSoapHeader(SoapHeader $header): void {}
- /** @tentative-return-type */
- public function setPersistence(int $mode): void {}
- /** @tentative-return-type */
- public function setClass(string $class, mixed ...$args): void {}
- /** @tentative-return-type */
- public function setObject(object $object): void {}
- /** @tentative-return-type */
- public function getFunctions(): array {}
- /**
- * @param array|string|int $functions
- * @tentative-return-type
- */
- public function addFunction($functions): void {}
- /** @tentative-return-type */
- public function handle(?string $request = null): void {}
- }
- class SoapClient
- {
- private ?string $uri = null;
- private ?int $style = null;
- private ?int $use = null;
- private ?string $location = null;
- private bool $trace = false;
- private ?int $compression = null;
- /** @var resource|null */
- private $sdl = null;
- /** @var resource|null */
- private $typemap = null;
- /** @var resource|null */
- private $httpsocket = null;
- /** @var resource|null */
- private $httpurl = null;
- private ?string $_login = null;
- private ?string $_password = null;
- private bool $_use_digest = false;
- private ?string $_digest = null;
- private ?string $_proxy_host = null;
- private ?int $_proxy_port = null;
- private ?string $_proxy_login = null;
- private ?string $_proxy_password = null;
- private bool $_exceptions = true;
- private ?string $_encoding = null;
- private ?array $_classmap = null;
- private ?int $_features = null;
- private int $_connection_timeout = 0;
- /** @var resource|null */
- private $_stream_context = null;
- private ?string $_user_agent = null;
- private bool $_keep_alive = true;
- private ?int $_ssl_method = null;
- private int $_soap_version;
- private ?int $_use_proxy = null;
- private array $_cookies = [];
- private ?array $__default_headers = null;
- private ?SoapFault $__soap_fault = null;
- private ?string $__last_request = null;
- private ?string $__last_response = null;
- private ?string $__last_request_headers = null;
- private ?string $__last_response_headers = null;
- public function __construct(?string $wsdl, array $options = []) {}
- /** @tentative-return-type */
- public function __call(string $name, array $args): mixed {}
- /**
- * @param SoapHeader|array|null $inputHeaders
- * @param array $outputHeaders
- * @tentative-return-type
- */
- public function __soapCall(string $name, array $args, ?array $options = null, $inputHeaders = null, &$outputHeaders = null): mixed {}
- /** @tentative-return-type */
- public function __getFunctions(): ?array {}
- /** @tentative-return-type */
- public function __getTypes(): ?array {}
- /** @tentative-return-type */
- public function __getLastRequest(): ?string {}
- /** @tentative-return-type */
- public function __getLastResponse(): ?string {}
- /** @tentative-return-type */
- public function __getLastRequestHeaders(): ?string {}
- /** @tentative-return-type */
- public function __getLastResponseHeaders(): ?string {}
- /** @tentative-return-type */
- public function __doRequest(string $request, string $location, string $action, int $version, bool $oneWay = false): ?string {}
- /** @tentative-return-type */
- public function __setCookie(string $name, ?string $value = null): void {}
- /** @tentative-return-type */
- public function __getCookies(): array {}
- /**
- * @param SoapHeader|array|null $headers
- * @tentative-return-type
- */
- public function __setSoapHeaders($headers = null): bool {}
- /** @tentative-return-type */
- public function __setLocation(?string $location = null): ?string {}
- }
|