- 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

+28
View File
@@ -0,0 +1,28 @@
<?php
namespace Lean\Console\Lib;
use Psr\Container\ContainerInterface;
use Storage\Session;
use Picea;
/**
* @Language("lean.route")
* @RouteParam("methods" => [ 'GET', 'POST', 'DELETE' ], "base" => "/~")
* @Security('locked' => false)
*/
trait ConsoleControllerTrait
{
use \Lean\Console\ControllerTrait;
protected ContainerInterface $container;
public function __construct(? Picea\Picea $picea, Session $session, ContainerInterface $container) {
$this->picea = $picea;
$this->session = $session;
$this->container = $container;
// $this->mailer = $mailer;
}
}