eventData['type'] = $type; foreach ($this->observers as $observer) { $observer->hookUpdateUser($this); } return 1; } }