public function setAndSendUserActivationToken($user)
    {
        $token = md5(str_random(40));

        $user->meta()->update([
            'activation_token' => $token
        ]);

        $user->notify(new ActivateUserEmail($token));
    }
public function setAndSendUserActivationToken($user)
    {
        $token = md5(str_random(40));

        $user->meta()->update([
            'activation_token' => $token
        ]);

        $user->notify(new ActivateUserEmail($token));
    }
public function setAndSendUserActivationToken ( $ user ) { $ token = md5 ( str_random ( 40 ) ) ; $ user -> meta ( ) -> update ( [ 'activation_token' => $ token ] ) ; $ user -> notify ( new ActivateUserEmail ( $ token ) ) ; }
Set and send the user activation token via email

@param void
Set and send the user activation token via email