Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SoapServer::setClassSoapServer::setPersistence>
^SoapServerLast updated: Mon, 26 Oct 2026

SoapServer::setObject

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

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

Description

public function 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


<SoapServer::setClassSoapServer::setPersistence>
^SoapServerLast updated: Mon, 26 Oct 2026