/** * Detaches the event hook from the events. */ public function detach() { $this->events->detach($this->type, $this->hook); }