$this->name, 'email' => $this->email, 'has_multi_factor' => $this->hasVerifiedEmail() || $this->hasEnabledTwoFactorAuthentication(), 'role' => $this->pivot->role, 'joined_at' => $this->pivot->created_at->toDateTimeString(), ]; } }