actual_events
[
{
"event": "topologyOpening",
"topology_id": "6ae3b1a8d22b5b16070764a5"
},
{
"event": "serverOpening",
"topology_id": "6ae3b1a8d22b5b16070764a5",
"host": "127.0.0.1",
"port": 27075
},
{
"event": "serverClosed",
"topology_id": "6ae3b1a8d22b5b16070764a5",
"host": "127.0.0.1",
"port": 27075
},
{
"event": "topologyClosed",
"topology_id": "6ae3b1a8d22b5b16070764a5"
}
]contract_details
{
"topologyOpening": {
"class": "MongoDB\\Driver\\Monitoring\\TopologyOpeningEvent",
"same": true,
"final": true,
"not_instantiable": true,
"new_rejected": true,
"readonly": true
},
"serverOpening": {
"class": "MongoDB\\Driver\\Monitoring\\ServerOpeningEvent",
"same": true,
"final": true,
"not_instantiable": true,
"new_rejected": true,
"readonly": true
},
"serverClosed": {
"class": "MongoDB\\Driver\\Monitoring\\ServerClosedEvent",
"same": true,
"final": true,
"not_instantiable": true,
"new_rejected": true,
"readonly": true
},
"topologyClosed": {
"class": "MongoDB\\Driver\\Monitoring\\TopologyClosedEvent",
"same": true,
"final": true,
"not_instantiable": true,
"new_rejected": true,
"readonly": true
}
}PHP 8.5.11; ext-mongodb 2.5.5; сервер 8.0.34. События настоящие; закрытие клиента не означает остановку сервера.