- Added definition loading ordering

This commit is contained in:
Dave Mc Nicoll committed 2024-11-18 16:45:09 -05:00
1 parent 163df3f4ba
commit 4e28917b96
2 files changed
+15 -20

No files matched your search

+1 -3
View File
@@ -1,7 +1,6 @@
<?php
use Ulmus\Container\AdapterProxy;
use Psr\Container\ContainerInterface;
use Ulmus\ConnectionAdapter;
use function DI\autowire, DI\create, DI\get, DI\add;
@@ -11,9 +10,8 @@ return [
AdapterProxy::class,
]),
AdapterProxy::class => function (ContainerInterface $c) {
AdapterProxy::class => function (Psr\Container\ContainerInterface $c) {
return new AdapterProxy(
$c->get('lean:adapter.sqlite'),
$c->get(ConnectionAdapter::class),
);
},