protected function notifyCreatedUser(Listener $listener, Eloquent $user, ?string $temporaryPassword)
    {
        try {
            $user->sendWelcomeNotification($temporaryPassword);
        } catch (Exception $e) {
            return $listener->profileCreatedWithoutNotification();
        }

        return $listener->profileCreated();
    }
protected function notifyCreatedUser(Listener $listener, Eloquent $user, ?string $temporaryPassword)
    {
        try {
            $user->sendWelcomeNotification($temporaryPassword);
        } catch (Exception $e) {
            return $listener->profileCreatedWithoutNotification();
        }

        return $listener->profileCreated();
    }
protected function notifyCreatedUser ( Listener $ listener , Eloquent $ user , ? string $ temporaryPassword ) { try { $ user -> sendWelcomeNotification ( $ temporaryPassword ) ; } catch ( Exception $ e ) { return $ listener -> profileCreatedWithoutNotification ( ) ; } return $ listener -> profileCreated ( ) ; }
Send new registration e-mail to user.

@param  \Orchestra\Contracts\Foundation\Listener\Account\ProfileCreator  $listener
@param  \Orchestra\Model\User  $user
@param  string|null  $temporaryPassword

@return mixed
Send new registration e - mail to user .