- First commit, routes and database builder are usable

This commit is contained in:
mcndave committed 2020-10-20 14:01:34 +00:00
commit 5f6ce82fd2
23 files changed
+787

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
<?php
namespace Lean\Console\Controller;
use Psr\Http\Message\{ ResponseInterface, ServerRequestInterface };
use Notes\Route\Annotation\Object\Route as RouteParam,
Notes\Route\Annotation\Method\Route,
Notes\Security\Annotation\Security,
Notes\Tell\Annotation\Language;
use \Lean\Console\Lib;
/**
* @Language("lean.console")
*/
class Console {
use Lib\ConsoleControllerTrait;
/**
* @Route("/", "name" => "lean.console:home")
* @param ServerRequestInterface $request
* @param array $arguments
* @return ResponseInterface
*/
public function home(ServerRequestInterface $request, array $arguments) : ResponseInterface
{
return $this->renderView("page/dashboard/index", [
]);
}
}