- First commit, routes and database builder are usable
This commit is contained in:
commit
5f6ce82fd2
23 files changed
+787
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user