- WIP on adding of HttpFactory and work on authorization from Ulmus/User too

This commit is contained in:
mcndave committed 2023-11-03 19:51:39 -04:00
1 parent 1241e188e9
commit 16cd95abe2
9 files changed
+47 -55

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ use Mcnd\CLI\CliMiddleware;
use Notes\CLI\CommandFetcher;
use Lean\Lean;
use Lean\{ Factory, Lean };
return [
CommandFetcher::class => function($c) {
@@ -27,7 +27,7 @@ return [
'cli.response:default' => function($c) {
return function() {
return new \Laminas\Diactoros\Response\TextResponse("This is the default response from CLI middleware which indicates that no command were registered for this application.\n");
return Factory\HttpFactory::createTextResponse("This is the default response from CLI middleware which indicates that no command were registered for this application.\n");
};
},
];