wdalmut/frankie-framework-module

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

This package is not auto-updated.

Last update: 2024-12-22 04:06:47 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");