- Fixed Lean' console default adapter

This commit is contained in:
Dave Mc Nicoll 2024-05-21 13:04:11 +00:00
parent 6001ecdecd
commit e032c89fdc
1 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,14 @@ return [
$adapter = new ConnectionAdapter('lean.console', $c->get('config')['ulmus'], false);
$adapter->resolveConfiguration();
return $adapter;
},
# @TODO BACKWARD COMPATIBILIY, TO BE REMOVED SOON !
'console.adapter' => function($c) {
$adapter = new ConnectionAdapter('lean.console', $c->get('config')['ulmus'], false);
$adapter->resolveConfiguration();
return $adapter;
}
];