Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
tests /
mongodb /
tests /
utils /
Delete
Unzip
Name
Size
Permission
Date
Action
PHONGO-FIXTURES.json.gz
73.94
KB
-rw-r--r--
2025-04-09 02:56
basic-skipif.inc
795
B
-rw-r--r--
2025-04-09 02:56
basic.inc
855
B
-rw-r--r--
2025-04-09 02:56
classes.inc
1.59
KB
-rw-r--r--
2025-04-09 02:56
observer.php
1.09
KB
-rw-r--r--
2025-04-09 02:56
skipif.php
13.15
KB
-rw-r--r--
2025-04-09 02:56
tools.php
23.98
KB
-rw-r--r--
2025-04-09 02:56
Save
Rename
<?php use MongoDB\Driver\Monitoring\CommandFailedEvent; use MongoDB\Driver\Monitoring\CommandStartedEvent; use MongoDB\Driver\Monitoring\CommandSucceededEvent; use MongoDB\Driver\Monitoring\CommandSubscriber; /** * Observes command documents using the driver's monitoring API. */ class CommandObserver implements CommandSubscriber { private $commands = []; public function observe(callable $execution, callable $commandCallback) { $this->commands = []; \MongoDB\Driver\Monitoring\addSubscriber($this); try { call_user_func($execution); } finally { \MongoDB\Driver\Monitoring\removeSubscriber($this); foreach ($this->commands as $command) { call_user_func($commandCallback, $command); } } } public function commandStarted(CommandStartedEvent $event): void { $this->commands[] = $event->getCommand(); } public function commandSucceeded(CommandSucceededEvent $event): void { } public function commandFailed(CommandFailedEvent $event): void { } } ?>