wdalmut/frankie-framework-module

dev-master 2017-07-16 16:09 UTC

This package is not auto-updated.

Last update: 2024-11-10 03:36:14 UTC


README

Base framework module

container = new CompositeContainer();
$modules = new Loader($container);

$modules->add(new Corley\Framework\FrameworkModule($container, [
    "app"       => __DIR__ . '/../src',
    "cache"     => "/tmp",
    "debug"     => true,
]);

$app = $modules->getContainer()->get("app");