- Removed LEAN consoled into it's own package

This commit is contained in:
Dave M. 2020-10-20 14:38:03 +00:00
parent 69f3993aa9
commit abafee0b30
3 changed files with 73 additions and 3 deletions

View File

@ -12,8 +12,78 @@
"require": {
"vlucas/phpdotenv": "^3.4@dev",
"php-di/php-di": "dev-master",
"league/route": "dev-master"
"league/route": "dev-master",
"mcnd/storage": "dev-master",
"mcnd/ulmus": "dev-master",
"mcnd/picea": "dev-master",
"mcnd/picea-ui": "dev-master",
"mcnd/cronard": "dev-master",
"mcnd/storage": "dev-master",
"mcnd/tell": "dev-master",
"mcnd/dump": "dev-master",
"mcnd/notes": "dev-master",
"mcnd/notes-route": "dev-master",
"mcnd/notes-security": "dev-master",
"mcnd/notes-tell": "dev-master",
"swiftmailer/swiftmailer": "^6.2@dev",
"php-di/php-di": "dev-master",
"league/route": "dev-master",
"laminas/laminas-diactoros": "2.5.x-dev",
"laminas/laminas-httphandlerrunner": "1.3.x-dev",
"vlucas/phpdotenv": "^3.4@dev",
"middlewares/whoops": "dev-master",
"ralouphie/getallheaders": "dev-master"
},
"repositories": [
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/cronard.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/storage.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/ulmus.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/picea.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/picea-ui.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/notes.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/notes-route.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/notes-security.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/notes-tell.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/tell.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/lean-console.git"
},
{
"type": "vcs",
"url": "https://git.mcnd.ca/mcndave/dump.git"
}
],
"autoload": {
"psr-4": {
"Lean\\": "src/"

View File

@ -27,7 +27,7 @@ use function file_get_contents;
*/
trait ControllerTrait {
public Session $session;
public Session $session;
public ? Picea\Picea $picea;

View File

@ -53,7 +53,7 @@ class Routing {
$this->security = $security;
$this->language = $language;
$this->router = $router;
}
}
public function registerRoute(ContainerInterface $container, string $urlBase) {
$this->router->group(rtrim($urlBase, "/"), function (RouteGroup $route) use ($container) {