- Some bugfixes were made and annotations were converted into attributes

This commit is contained in:
mcndave committed 2023-01-21 20:27:08 +00:00
1 parent 9c8f9903fc
commit 6ff29a576c
14 files changed
+247 -113

No files matched your search

+3 -10
View File
@@ -4,22 +4,15 @@ 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 Notes\Tell\Attribute\Language, Notes\Route\Attribute\Method\Route;
use \Lean\Console\Lib;
/**
* @Language("lean.console")
*/
#[Language("lean.console")]
class Console {
use Lib\ConsoleControllerTrait;
/**
* @Route("/", "name" => "lean.console:home")
*/
#[Route(route: "/", name: "lean.console:home")]
public function home(ServerRequestInterface $request, array $arguments) : ResponseInterface
{
return $this->renderView("lean-console/page/dashboard/index", [