Zend\XmlRpc\Server\Fault::attachObserver
Attach an observer class
Allows observation of xmlrpc server faults, thus allowing logging or mail notification of fault responses on the xmlrpc server. Expects a valid class name; that class must have a public static method 'observe' that accepts an exception as its sole argument.
Signature
public function attachObserver(string
$class )
Parameters
$class
— string
Returns
- bool