- Added definition loading ordering
This commit is contained in:
1 parent
163df3f4ba
commit
4e28917b96
2 files changed
+15
-20
No files matched your search
@@ -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),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user