20 lines
397 B
PHP
20 lines
397 B
PHP
<?php
|
|
|
|
use Psr\Container\ContainerInterface;
|
|
|
|
use Ulmus\ConnectionAdapter,
|
|
Ulmus\Container\AdapterProxy;
|
|
|
|
use Storage\Session;
|
|
|
|
use function DI\autowire, DI\create, DI\get;
|
|
|
|
return [
|
|
'console.adapter' => function($c) {
|
|
$adapter = new ConnectionAdapter('lean.console', $c->get('config')['ulmus'], false);
|
|
$adapter->resolveConfiguration();
|
|
|
|
return $adapter;
|
|
}
|
|
];
|