wdalmut/frankie-framework-module

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

This package is not auto-updated.

Last update: 2024-10-27 03:31:44 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");