From e032c89fdc0a331f5d5c7e9a81e66de0a88f26af Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Tue, 21 May 2024 13:04:11 +0000 Subject: [PATCH] - Fixed Lean' console default adapter --- meta/definitions/storage.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meta/definitions/storage.php b/meta/definitions/storage.php index ef8a430..c642fae 100644 --- a/meta/definitions/storage.php +++ b/meta/definitions/storage.php @@ -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; } ];