- WIP on cleaning of definitions files
This commit is contained in:
1 parent
63fde92b68
commit
d9f9c053c3
8 files changed
+55
-29
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use function DI\autowire, DI\create, DI\get;
|
||||
use Tell\I18n;
|
||||
|
||||
use TheBugs\JavascriptMiddleware;
|
||||
|
||||
@@ -10,6 +10,8 @@ use Storage\Cookie,
|
||||
Storage\Session,
|
||||
Storage\SessionMiddleware;
|
||||
|
||||
use function DI\autowire, DI\create, DI\get, DI\add;
|
||||
|
||||
$dir = dirname(__DIR__, 2);
|
||||
|
||||
return [
|
||||
@@ -74,6 +76,10 @@ return [
|
||||
],
|
||||
],
|
||||
|
||||
'lean.autoload' => add([
|
||||
Lean::class,
|
||||
]),
|
||||
|
||||
Lean::class => autowire(Lean::class),
|
||||
|
||||
JavascriptMiddleware::class => create(JavascriptMiddleware::class),
|
||||
|
||||
Reference in new issue
Block a user