I apologize if this question doesn't make sense... I'm still getting used to OOP.
Is it possible to instantiate a module inside of another module? In other words... I would like to be able to create my own API calls like $modules->myModule1->myModule2->myFunction() similar to the ProcessWire core.
I figured out how to do this with a generic class by including the class in the module file and instantiating it in the constructor function, but I would like to be able to do it with a mo