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