/** * Adds a reference to the event, causing the event loop to continue to run as long as the watcher is still pending. */ public function reference() { $this->referenced = true; $this->manager->reference($this); }