(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening — Notification method for opening a server
$event
): voidIf the subscriber is registered, this method is called when a server is opened.
event
(MongoDB\Driver\Monitoring\ServerOpeningEvent)An event object encapsulating information about the opened server.
没有返回值。