The base frankie module system
$container = new CompositeContainer();
$modules = new Loader($container);
// add modules
$modules->add(new Corley\Module\FrameworkModule());
$loader->getContainer()->get("event_manager");
It is just a class that implements Corley\Modular\Module\ModuleInterface
class Framework implements ModuleInterface
{
public function getContainer()
{
return /* Psr\Container\ContainerInterface instance */
}
}