示例#1
0
 protected function getEmailSettingInstance()
 {
     return $this->getRelationValue('emailSetting') ?: EmailSetting::instantiate($this);
 }
示例#2
0
 public function created(User $user)
 {
     EmailSetting::instantiate($user);
 }