1<?php 2 3/** @generate-class-entries */ 4 5namespace Soap { 6 /** 7 * @strict-properties 8 * @not-serializable 9 */ 10 final class Url 11 { 12 } 13 14 /** 15 * @strict-properties 16 * @not-serializable 17 */ 18 final class Sdl 19 { 20 } 21} 22 23namespace { 24 /** 25 * @var int 26 * @cvalue SOAP_1_1 27 */ 28 const SOAP_1_1 = UNKNOWN; 29 /** 30 * @var int 31 * @cvalue SOAP_1_2 32 */ 33 const SOAP_1_2 = UNKNOWN; 34 /** 35 * @var int 36 * @cvalue SOAP_PERSISTENCE_SESSION 37 */ 38 const SOAP_PERSISTENCE_SESSION = UNKNOWN; 39 /** 40 * @var int 41 * @cvalue SOAP_PERSISTENCE_REQUEST 42 */ 43 const SOAP_PERSISTENCE_REQUEST = UNKNOWN; 44 /** 45 * @var int 46 * @cvalue SOAP_FUNCTIONS_ALL 47 * @deprecated since 8.4 48 */ 49 const SOAP_FUNCTIONS_ALL = UNKNOWN; 50 51 /** 52 * @var int 53 * @cvalue SOAP_ENCODED 54 */ 55 const SOAP_ENCODED = UNKNOWN; 56 /** 57 * @var int 58 * @cvalue SOAP_LITERAL 59 */ 60 const SOAP_LITERAL = UNKNOWN; 61 62 /** 63 * @var int 64 * @cvalue SOAP_RPC 65 */ 66 const SOAP_RPC = UNKNOWN; 67 /** 68 * @var int 69 * @cvalue SOAP_DOCUMENT 70 */ 71 const SOAP_DOCUMENT = UNKNOWN; 72 73 /** 74 * @var int 75 * @cvalue SOAP_ACTOR_NEXT 76 */ 77 const SOAP_ACTOR_NEXT = UNKNOWN; 78 /** 79 * @var int 80 * @cvalue SOAP_ACTOR_NONE 81 */ 82 const SOAP_ACTOR_NONE = UNKNOWN; 83 /** 84 * @var int 85 * @cvalue SOAP_ACTOR_UNLIMATERECEIVER 86 */ 87 const SOAP_ACTOR_UNLIMATERECEIVER = UNKNOWN; 88 89 /** 90 * @var int 91 * @cvalue SOAP_COMPRESSION_ACCEPT 92 */ 93 const SOAP_COMPRESSION_ACCEPT = UNKNOWN; 94 /** 95 * @var int 96 * @cvalue SOAP_COMPRESSION_GZIP 97 */ 98 const SOAP_COMPRESSION_GZIP = UNKNOWN; 99 /** 100 * @var int 101 * @cvalue SOAP_COMPRESSION_DEFLATE 102 */ 103 const SOAP_COMPRESSION_DEFLATE = UNKNOWN; 104 105 /** 106 * @var int 107 * @cvalue SOAP_AUTHENTICATION_BASIC 108 */ 109 const SOAP_AUTHENTICATION_BASIC = UNKNOWN; 110 /** 111 * @var int 112 * @cvalue SOAP_AUTHENTICATION_DIGEST 113 */ 114 const SOAP_AUTHENTICATION_DIGEST = UNKNOWN; 115 116 /** 117 * @var int 118 * @cvalue UNKNOWN_TYPE 119 */ 120 const UNKNOWN_TYPE = UNKNOWN; 121 122 /** 123 * @var int 124 * @cvalue XSD_STRING 125 */ 126 const XSD_STRING = UNKNOWN; 127 /** 128 * @var int 129 * @cvalue XSD_BOOLEAN 130 */ 131 const XSD_BOOLEAN = UNKNOWN; 132 /** 133 * @var int 134 * @cvalue XSD_DECIMAL 135 */ 136 const XSD_DECIMAL = UNKNOWN; 137 /** 138 * @var int 139 * @cvalue XSD_FLOAT 140 */ 141 const XSD_FLOAT = UNKNOWN; 142 /** 143 * @var int 144 * @cvalue XSD_DOUBLE 145 */ 146 const XSD_DOUBLE = UNKNOWN; 147 /** 148 * @var int 149 * @cvalue XSD_DURATION 150 */ 151 const XSD_DURATION = UNKNOWN; 152 /** 153 * @var int 154 * @cvalue XSD_DATETIME 155 */ 156 const XSD_DATETIME = UNKNOWN; 157 /** 158 * @var int 159 * @cvalue XSD_TIME 160 */ 161 const XSD_TIME = UNKNOWN; 162 /** 163 * @var int 164 * @cvalue XSD_DATE 165 */ 166 const XSD_DATE = UNKNOWN; 167 /** 168 * @var int 169 * @cvalue XSD_GYEARMONTH 170 */ 171 const XSD_GYEARMONTH = UNKNOWN; 172 /** 173 * @var int 174 * @cvalue XSD_GYEAR 175 */ 176 const XSD_GYEAR = UNKNOWN; 177 /** 178 * @var int 179 * @cvalue XSD_GMONTHDAY 180 */ 181 const XSD_GMONTHDAY = UNKNOWN; 182 /** 183 * @var int 184 * @cvalue XSD_GDAY 185 */ 186 const XSD_GDAY = UNKNOWN; 187 /** 188 * @var int 189 * @cvalue XSD_GMONTH 190 */ 191 const XSD_GMONTH = UNKNOWN; 192 /** 193 * @var int 194 * @cvalue XSD_HEXBINARY 195 */ 196 const XSD_HEXBINARY = UNKNOWN; 197 /** 198 * @var int 199 * @cvalue XSD_BASE64BINARY 200 */ 201 const XSD_BASE64BINARY = UNKNOWN; 202 /** 203 * @var int 204 * @cvalue XSD_ANYURI 205 */ 206 const XSD_ANYURI = UNKNOWN; 207 /** 208 * @var int 209 * @cvalue XSD_QNAME 210 */ 211 const XSD_QNAME = UNKNOWN; 212 /** 213 * @var int 214 * @cvalue XSD_NOTATION 215 */ 216 const XSD_NOTATION = UNKNOWN; 217 218 /** 219 * @var int 220 * @cvalue XSD_NORMALIZEDSTRING 221 */ 222 const XSD_NORMALIZEDSTRING = UNKNOWN; 223 /** 224 * @var int 225 * @cvalue XSD_TOKEN 226 */ 227 const XSD_TOKEN = UNKNOWN; 228 /** 229 * @var int 230 * @cvalue XSD_LANGUAGE 231 */ 232 const XSD_LANGUAGE = UNKNOWN; 233 /** 234 * @var int 235 * @cvalue XSD_NMTOKEN 236 */ 237 const XSD_NMTOKEN = UNKNOWN; 238 /** 239 * @var int 240 * @cvalue XSD_NAME 241 */ 242 const XSD_NAME = UNKNOWN; 243 /** 244 * @var int 245 * @cvalue XSD_NCNAME 246 */ 247 const XSD_NCNAME = UNKNOWN; 248 /** 249 * @var int 250 * @cvalue XSD_ID 251 */ 252 const XSD_ID = UNKNOWN; 253 /** 254 * @var int 255 * @cvalue XSD_IDREF 256 */ 257 const XSD_IDREF = UNKNOWN; 258 /** 259 * @var int 260 * @cvalue XSD_IDREFS 261 */ 262 const XSD_IDREFS = UNKNOWN; 263 /** 264 * @var int 265 * @cvalue XSD_ENTITY 266 */ 267 const XSD_ENTITY = UNKNOWN; 268 /** 269 * @var int 270 * @cvalue XSD_ENTITIES 271 */ 272 const XSD_ENTITIES = UNKNOWN; 273 /** 274 * @var int 275 * @cvalue XSD_INTEGER 276 */ 277 const XSD_INTEGER = UNKNOWN; 278 /** 279 * @var int 280 * @cvalue XSD_NONPOSITIVEINTEGER 281 */ 282 const XSD_NONPOSITIVEINTEGER = UNKNOWN; 283 /** 284 * @var int 285 * @cvalue XSD_NEGATIVEINTEGER 286 */ 287 const XSD_NEGATIVEINTEGER = UNKNOWN; 288 /** 289 * @var int 290 * @cvalue XSD_LONG 291 */ 292 const XSD_LONG = UNKNOWN; 293 /** 294 * @var int 295 * @cvalue XSD_INT 296 */ 297 const XSD_INT = UNKNOWN; 298 /** 299 * @var int 300 * @cvalue XSD_SHORT 301 */ 302 const XSD_SHORT = UNKNOWN; 303 /** 304 * @var int 305 * @cvalue XSD_BYTE 306 */ 307 const XSD_BYTE = UNKNOWN; 308 /** 309 * @var int 310 * @cvalue XSD_NONNEGATIVEINTEGER 311 */ 312 const XSD_NONNEGATIVEINTEGER = UNKNOWN; 313 /** 314 * @var int 315 * @cvalue XSD_UNSIGNEDLONG 316 */ 317 const XSD_UNSIGNEDLONG = UNKNOWN; 318 /** 319 * @var int 320 * @cvalue XSD_UNSIGNEDINT 321 */ 322 const XSD_UNSIGNEDINT = UNKNOWN; 323 /** 324 * @var int 325 * @cvalue XSD_UNSIGNEDSHORT 326 */ 327 const XSD_UNSIGNEDSHORT = UNKNOWN; 328 /** 329 * @var int 330 * @cvalue XSD_UNSIGNEDBYTE 331 */ 332 const XSD_UNSIGNEDBYTE = UNKNOWN; 333 /** 334 * @var int 335 * @cvalue XSD_POSITIVEINTEGER 336 */ 337 const XSD_POSITIVEINTEGER = UNKNOWN; 338 /** 339 * @var int 340 * @cvalue XSD_NMTOKENS 341 */ 342 const XSD_NMTOKENS = UNKNOWN; 343 /** 344 * @var int 345 * @cvalue XSD_ANYTYPE 346 */ 347 const XSD_ANYTYPE = UNKNOWN; 348 /** 349 * @var int 350 * @cvalue XSD_ANYXML 351 */ 352 const XSD_ANYXML = UNKNOWN; 353 354 /** 355 * @var int 356 * @cvalue APACHE_MAP 357 */ 358 const APACHE_MAP = UNKNOWN; 359 360 /** 361 * @var int 362 * @cvalue SOAP_ENC_OBJECT 363 */ 364 const SOAP_ENC_OBJECT = UNKNOWN; 365 /** 366 * @var int 367 * @cvalue SOAP_ENC_ARRAY 368 */ 369 const SOAP_ENC_ARRAY = UNKNOWN; 370 371 /** 372 * @var int 373 * @cvalue XSD_1999_TIMEINSTANT 374 */ 375 const XSD_1999_TIMEINSTANT = UNKNOWN; 376 377 /** 378 * @var string 379 * @cvalue XSD_NAMESPACE 380 */ 381 const XSD_NAMESPACE = UNKNOWN; 382 /** 383 * @var string 384 * @cvalue XSD_1999_NAMESPACE 385 */ 386 const XSD_1999_NAMESPACE = UNKNOWN; 387 388 /** 389 * @var int 390 * @cvalue SOAP_SINGLE_ELEMENT_ARRAYS 391 */ 392 const SOAP_SINGLE_ELEMENT_ARRAYS = UNKNOWN; 393 /** 394 * @var int 395 * @cvalue SOAP_WAIT_ONE_WAY_CALLS 396 */ 397 const SOAP_WAIT_ONE_WAY_CALLS = UNKNOWN; 398 /** 399 * @var int 400 * @cvalue SOAP_USE_XSI_ARRAY_TYPE 401 */ 402 const SOAP_USE_XSI_ARRAY_TYPE = UNKNOWN; 403 404 /** 405 * @var int 406 * @cvalue WSDL_CACHE_NONE 407 */ 408 const WSDL_CACHE_NONE = UNKNOWN; 409 /** 410 * @var int 411 * @cvalue WSDL_CACHE_DISK 412 */ 413 const WSDL_CACHE_DISK = UNKNOWN; 414 /** 415 * @var int 416 * @cvalue WSDL_CACHE_MEMORY 417 */ 418 const WSDL_CACHE_MEMORY = UNKNOWN; 419 /** 420 * @var int 421 * @cvalue WSDL_CACHE_BOTH 422 */ 423 const WSDL_CACHE_BOTH = UNKNOWN; 424 425 /* New SOAP SSL Method Constants */ 426 427 /** 428 * @var int 429 * @cvalue SOAP_SSL_METHOD_TLS 430 */ 431 const SOAP_SSL_METHOD_TLS = UNKNOWN; 432 /** 433 * @var int 434 * @cvalue SOAP_SSL_METHOD_SSLv2 435 */ 436 const SOAP_SSL_METHOD_SSLv2 = UNKNOWN; 437 /** 438 * @var int 439 * @cvalue SOAP_SSL_METHOD_SSLv3 440 */ 441 const SOAP_SSL_METHOD_SSLv3 = UNKNOWN; 442 /** 443 * @var int 444 * @cvalue SOAP_SSL_METHOD_SSLv23 445 */ 446 const SOAP_SSL_METHOD_SSLv23 = UNKNOWN; 447 448 function use_soap_error_handler(bool $enable = true): bool {} 449 450 function is_soap_fault(mixed $object): bool {} 451 452 class SoapParam 453 { 454 public string $param_name; 455 public mixed $param_data; 456 457 public function __construct(mixed $data, string $name) {} 458 } 459 460 class SoapHeader 461 { 462 public string $namespace; 463 public string $name; 464 public mixed $data = null; 465 public bool $mustUnderstand; 466 public string|int|null $actor; 467 468 public function __construct(string $namespace, string $name, mixed $data = UNKNOWN, bool $mustUnderstand = false, string|int|null $actor = null) {} 469 } 470 471 class SoapFault extends Exception 472 { 473 public string $faultstring; 474 public ?string $faultcode = null; 475 public ?string $faultcodens = null; 476 public ?string $faultactor = null; 477 public mixed $detail = null; 478 public ?string $_name = null; 479 public mixed $headerfault = null; 480 481 public function __construct(array|string|null $code, string $string, ?string $actor = null, mixed $details = null, ?string $name = null, mixed $headerFault = null) {} 482 483 public function __toString(): string {} 484 } 485 486 class SoapVar 487 { 488 public int $enc_type; 489 public mixed $enc_value = null; 490 public ?string $enc_stype = null; 491 public ?string $enc_ns = null; 492 public ?string $enc_name = null; 493 public ?string $enc_namens = null; 494 495 public function __construct(mixed $data, ?int $encoding, ?string $typeName = null, ?string $typeNamespace = null, ?string $nodeName = null, ?string $nodeNamespace = null) {} 496 } 497 498 class SoapServer 499 { 500 private ?SoapFault $__soap_fault = null; 501 502 public function __construct(?string $wsdl, array $options = []) {} 503 504 /** @tentative-return-type */ 505 public function fault(string $code, string $string, string $actor = "", mixed $details = null, string $name = ""): void {} 506 507 /** @tentative-return-type */ 508 public function addSoapHeader(SoapHeader $header): void {} 509 510 /** @tentative-return-type */ 511 public function setPersistence(int $mode): void {} 512 513 /** @tentative-return-type */ 514 public function setClass(string $class, mixed ...$args): void {} 515 516 /** @tentative-return-type */ 517 public function setObject(object $object): void {} 518 519 /** @tentative-return-type */ 520 public function getFunctions(): array {} 521 522 /** 523 * @param array|string|int $functions 524 * @tentative-return-type 525 */ 526 public function addFunction($functions): void {} 527 528 /** @tentative-return-type */ 529 public function handle(?string $request = null): void {} 530 531 public function __getLastResponse(): ?string {} 532 } 533 534 class SoapClient 535 { 536 private ?string $uri = null; 537 private ?int $style = null; 538 private ?int $use = null; 539 private ?string $location = null; 540 private bool $trace = false; 541 private ?int $compression = null; 542 private ?Soap\Sdl $sdl = null; 543 private ?array $typemap = null; 544 /** @var resource|null */ 545 private $httpsocket = null; 546 private ?Soap\Url $httpurl = null; 547 548 private ?string $_login = null; 549 private ?string $_password = null; 550 private bool $_use_digest = false; 551 private ?string $_digest = null; 552 private ?string $_proxy_host = null; 553 private ?int $_proxy_port = null; 554 private ?string $_proxy_login = null; 555 private ?string $_proxy_password = null; 556 private bool $_exceptions = true; 557 private ?string $_encoding = null; 558 private ?array $_classmap = null; 559 private ?int $_features = null; 560 private int $_connection_timeout = 0; 561 /** @var resource|null */ 562 private $_stream_context = null; 563 private ?string $_user_agent = null; 564 private bool $_keep_alive = true; 565 private ?int $_ssl_method = null; 566 private int $_soap_version; 567 private ?int $_use_proxy = null; 568 private array $_cookies = []; 569 private ?array $__default_headers = null; 570 private ?SoapFault $__soap_fault = null; 571 private ?string $__last_request = null; 572 private ?string $__last_response = null; 573 private ?string $__last_request_headers = null; 574 private ?string $__last_response_headers = null; 575 576 public function __construct(?string $wsdl, array $options = []) {} 577 578 /** @tentative-return-type */ 579 public function __call(string $name, array $args): mixed {} 580 581 /** 582 * @param SoapHeader|array|null $inputHeaders 583 * @param array $outputHeaders 584 * @tentative-return-type 585 */ 586 public function __soapCall(string $name, array $args, ?array $options = null, $inputHeaders = null, &$outputHeaders = null): mixed {} 587 588 /** @tentative-return-type */ 589 public function __getFunctions(): ?array {} 590 591 /** @tentative-return-type */ 592 public function __getTypes(): ?array {} 593 594 /** @tentative-return-type */ 595 public function __getLastRequest(): ?string {} 596 597 /** @tentative-return-type */ 598 public function __getLastResponse(): ?string {} 599 600 /** @tentative-return-type */ 601 public function __getLastRequestHeaders(): ?string {} 602 603 /** @tentative-return-type */ 604 public function __getLastResponseHeaders(): ?string {} 605 606 /** @tentative-return-type */ 607 public function __doRequest(string $request, string $location, string $action, int $version, bool $oneWay = false): ?string {} 608 609 /** @tentative-return-type */ 610 public function __setCookie(string $name, ?string $value = null): void {} 611 612 /** @tentative-return-type */ 613 public function __getCookies(): array {} 614 615 /** 616 * @param SoapHeader|array|null $headers 617 * @tentative-return-type 618 */ 619 public function __setSoapHeaders($headers = null): bool {} 620 621 /** @tentative-return-type */ 622 public function __setLocation(?string $location = null): ?string {} 623 } 624} 625