(PHP 5 >= 5.2.0, PHP 7, PHP 8)
SoapServer::setObject — Sets the object which will be used to handle SOAP requests
$object
): voidThis sets a specific object as the handler for SOAP requests, rather than just a class as in SoapServer::setClass().
object
The object to handle the requests.
No value is returned.