php8.5
Home/ Manual/ soap / soapserver/ SoapServer::setObject

SoapServer::setObject

PHP function Edit on GitHub ✎

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

Sets the object which will be used to handle SOAP requests

Description

SoapServer::setObject(object $object): void

This sets a specific object as the handler for SOAP requests, rather than just a class as in SoapServer::setClass.

Parameters

object

The object to handle the requests.

Return Values

Void

See Also

  • SoapServer::setClass

Source: reference/soap/soapserver/setobject.xml · from the official PHP manual (php/doc-en)