在线文档教程
PHP

SoapServer::setObject

SoapServer::setObject

(PHP 5 >= 5.2.0, PHP 7)

SoapServer::setObject — Sets the object which will be used to handle SOAP requests

Description

public void SoapServer::setObject ( object $object )

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

  • SoapServer::setClass() - Sets the class which handles SOAP requests

← SoapServer::setClass

SoapServer::setPersistence →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/soapserver.setobject.php