Hi, I'm I working with the mvc/multiple example from GitHub (https://github.com/phalcon/mvc/tree/master/multiple).
In this example, the Dependency Injector (DI) is created in the application level bootstrap file (public/index.php) and then passed to the application where the 2 modules ("frontend" and "backend") are registered.
Each of these modules has a "Module.php" (module level bootstrap). Within each of these bootstraps, I am seeing code to add the "view" to the DI.
1) How does the DI object keep the "view" service separate by module because they are both set using the same identifier string?
2) What if I have a global service, say "globalConfigData" that I want to make available to the 2 modules using the DI - how could I access the global service from within each module and its controllers/views?
Thanks in advance for the help.