How to use config_db get() and set method to send array of interfaces?

In reply to cgales:

In reply to UVM_SV_101:
You are using the same name (“vif”) for all instances. You want to create unique names for each instance in the set() and get() calls.

Do you know the reason why for loop cannot be used when using config_db set method?