SchemalessAttributes::class, 'resale_license' => 'encrypted', ]; public function scopeWithSmtp(): Builder { return $this->smtp->modelScope(); } public function routeNotificationForEmail(string $attribute = 'test_recipients') { $recipients = $this->smtp->get($attribute, ''); if (is_null($recipients) || $recipients === '') { return []; } return explode(',', $recipients); } public static function get() { return InstanceSettings::findOrFail(0); } }