- WIP on adding of HttpFactory and work on authorization from Ulmus/User too
This commit is contained in:
1 parent
1241e188e9
commit
16cd95abe2
9 files changed
+47
-55
No files matched your search
@@ -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");
|
||||
};
|
||||
},
|
||||
];
|
||||
Reference in new issue
Block a user