src/Traits/RegistersUsers.php
protected function sendConfirmationToUser($user)
    {
        // Create the confirmation code
        $user->confirmation_code = str_random(25);
        $user->save();

        // Notify the user
        $notification = app(config('confirmation.notification'));
        $user->notify($notification);
    }
protected function sendConfirmationToUser($user)
    {
        // Create the confirmation code
        $user->confirmation_code = str_random(25);
        $user->save();

        // Notify the user
        $notification = app(config('confirmation.notification'));
        $user->notify($notification);
    }
protected function sendConfirmationToUser ( $ user ) { // Create the confirmation code $ user -> confirmation_code = str_random ( 25 ) ; $ user -> save ( ) ; // Notify the user $ notification = app ( config ( 'confirmation.notification' ) ) ; $ user -> notify ( $ notification ) ; }
Send the confirmation code to a user.

@param $user
Send the confirmation code to a user .