- 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

+9 -7
View File
@@ -6,15 +6,17 @@ use Psr\Container\ContainerInterface;
use Storage\Session;
use Notes\Tell\Attribute\Language,
Notes\Route\Attribute\Object\Route;
use Notes\Security\Attribute\{ Security, Taxus };
use Picea;
/**
* @Language("lean.route")
* @RouteParam("methods" => [ 'GET', 'POST', 'DELETE' ], "base" => "/~")
* @Security('locked' => false)
* @Taxus("dev")
* #Taxus("admin")
*/
#[Language("lean.route")]
#[Security(locked: false)]
#[Taxus("dev")]
#[\Notes\Route\Attribute\Object\Route(method: [ 'GET', 'POST', 'DELETE'] , base: "/~")]
trait ConsoleControllerTrait
{
use \Lean\ControllerTrait;