Changeset View
Changeset View
Standalone View
Standalone View
src/app/User.php
Show First 20 Lines • Show All 596 Lines • ▼ Show 20 Lines | public function senderPolicyFrameworkWhitelist($clientName) | ||||
continue; | continue; | ||||
} | } | ||||
} | } | ||||
return $matchFound; | return $matchFound; | ||||
} | } | ||||
/** | /** | ||||
* Any (additional) properties of this user. | |||||
* | |||||
* @return \Illuminate\Database\Eloquent\Relations\HasMany | |||||
*/ | |||||
public function settings() | |||||
{ | |||||
return $this->hasMany('App\UserSetting', 'user_id'); | |||||
} | |||||
/** | |||||
* Suspend this domain. | * Suspend this domain. | ||||
* | * | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
public function suspend(): void | public function suspend(): void | ||||
{ | { | ||||
if ($this->isSuspended()) { | if ($this->isSuspended()) { | ||||
return; | return; | ||||
▲ Show 20 Lines • Show All 244 Lines • Show Last 20 Lines |