init kevacoin controller type

This commit is contained in:
yggverse 2024-05-09 10:04:13 +03:00
parent 207b5f577a
commit efe56f4557
3 changed files with 14 additions and 8 deletions

View File

@ -5,7 +5,8 @@
"homepage": "https://github.com/yggverse/pulsar", "homepage": "https://github.com/yggverse/pulsar",
"type": "project", "type": "project",
"require": { "require": {
"cboden/ratchet": "^0.4.4" "cboden/ratchet": "^0.4.4",
"kevachat/kevacoin": "^1.10"
}, },
"license": "MIT", "license": "MIT",
"autoload": { "autoload": {

View File

@ -0,0 +1,3 @@
<?php
// @TODO

View File

@ -19,11 +19,6 @@ $environment = new \Yggverse\Next\Model\Environment(
) )
); );
// Init filesystem
$filesystem = new \Yggverse\Next\Model\Filesystem(
$environment->get('root')
);
// Start server // Start server
try try
{ {
@ -36,8 +31,15 @@ try
case 'fs': case 'fs':
$controller = new \Yggverse\Next\Controller\Nex\Filesystem( $controller = new \Yggverse\Next\Controller\Nex\Filesystem(
$environment, $environment
$filesystem );
break;
case 'keva':
$controller = new \Yggverse\Next\Controller\Nex\Kevacoin(
$environment
); );
break; break;