php / 8.1.5 / soapserver.setobject.html /

SoapServer::setObject

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

SoapServer::setObjectSets the object which will be used to handle SOAP requests

Description

public 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

No value is returned.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/soapserver.setobject.php