It looks like you're new here. If you want to get involved, click one of these buttons!
Say I have an addon with an interface called IFun with a couple method declarations, one being doThis(). There's a sub-folder called "FunImplementations" with classes implementing this interface inside the addon. If necessary and if Vanilla doesn't autoload these classes, I could require them in the addon's bootstrap.php.
Next, I have some code in the addon that should call doThis() from each class that implements IFun in that sub-folder. How would you implement this? My main question is: is there a way with Garden's factory methods? Otherwise, reflection, go by file names, or something else?