notificationProcessingTimeNs; } /** * Resets the notification processing time tracker to zero. */ public function resetNotificationProcessingTime() : void{ $this->notificationProcessingTimeNs = 0; } public function processNotifications() : void{ $startTime = hrtime(true); $this->timings->startTiming(); try{ parent::processNotifications(); }finally{ $this->notificationProcessingTimeNs += hrtime(true) - $startTime; $this->timings->stopTiming(); } } }