Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [MongoDB\Driver\Monitoring\addSubscriber]

Protect Your Website Today


PHP Manual || Functions

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\addSubscriberRegisters a new monitoring event subscriber

Description

MongoDB\Driver\Monitoring\addSubscriber ( MongoDB\Driver\Monitoring\Subscriber $subscriber ) : void

Registers a new monitoring event subscriber with the driver. Registered subscribers will be notified of monitoring events through specific methods.

Note: If the object is already registered, this function is a no-op.

Parameters

subscriber (MongoDB\Driver\Monitoring\Subscriber)

A monitoring event subscriber object to register.

Return Values

No value is returned.

Errors/Exceptions



PHP Manual || Functions