Browse Source

init kevacoin controller type

main
yggverse 7 months ago
parent
commit
efe56f4557
  1. 3
      composer.json
  2. 3
      src/Controller/Nex/Kevacoin.php
  3. 16
      src/server.php

3
composer.json

@ -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": {

3
src/Controller/Nex/Kevacoin.php

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

16
src/server.php

@ -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;

Loading…
Cancel
Save