PHP 8.1.28 Released!

MongoDB\Driver\Monitoring\SDAMSubscriber::serverChanged

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\SDAMSubscriber::serverChangedNotification method for a server description change

Beschreibung

abstract public MongoDB\Driver\Monitoring\SDAMSubscriber::serverChanged(MongoDB\Driver\Monitoring\ServerChangedEvent $event): void

If the subscriber has been registered, the driver will call this method when a server's description has changed.

Parameter-Liste

event (MongoDB\Driver\Monitoring\ServerChangedEvent)

An event object encapsulating information about the changed server description.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Fehler/Exceptions

Siehe auch

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top