deleteByUser($user); $token = $this->createTokenForUser($user); try { $user->notify(new UserInviteNotification($token)); } catch (\Exception $exception) { throw new UserInviteException($exception->getMessage(), $exception->getCode(), $exception); } } }