public function remove() { if (isset($this->id)) { ar_events::removeListener($this->name, $this->path, $this->capture, $this->id); } }