I want to have a class with different methods. Also, there is a config file that states which method is to be used. Is using reflection the ideal way to do this (in order that I can call only methods with respective arguments that are mentioned in config file)? What are the pros and cons of using reflection?
Aucun commentaire:
Enregistrer un commentaire