- WIP on lean
This commit is contained in:
1 parent
d9f9c053c3
commit
97dac9ddc4
3 files changed
+12
-3
No files matched your search
@@ -2,8 +2,17 @@
|
||||
|
||||
use Ulmus\Container\AdapterProxy;
|
||||
|
||||
use function DI\autowire, DI\create, DI\get, DI\add;
|
||||
|
||||
return [
|
||||
'lean.autoload' => add([
|
||||
AdapterProxy::class,
|
||||
]),
|
||||
|
||||
AdapterProxy::class => function (ContainerInterface $c) {
|
||||
return new AdapterProxy(
|
||||
$c->get('lean:adapter.sqlite'),
|
||||
$c->get(ConnectionAdapter::class),
|
||||
);
|
||||
},
|
||||
];
|
||||
@@ -17,7 +17,7 @@ $dir = dirname(__DIR__, 2);
|
||||
return [
|
||||
'lean.default' => [
|
||||
'picea' => [
|
||||
'context' => "Lean\\View",
|
||||
'context' => \Lean\View::class,
|
||||
|
||||
'view' => [
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user