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

3
src/Controller/Nex/Kevacoin.php

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

16
src/server.php

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

Loading…
Cancel
Save