$extraAttributes Zusätzliche Spalten beim * Anlegen (z. B. OAuth-Provider). */ public function provisionVerifiedCustomer(string $email, string $name, array $extraAttributes = []): User { $user = User::create([ 'name' => $name !== '' ? $name : $email, 'email' => $email, 'registration_type' => RegistrationType::Company->value, 'is_active' => true, ...$extraAttributes, ]); $user->forceFill(['email_verified_at' => now()])->save(); $this->roleSync->assignRoleAndSyncPermissions($user, 'customer'); return $user; } }