mirror of
https://github.com/YGGverse/next.git
synced 2025-01-25 22:34:21 +00:00
init kevacoin controller type
This commit is contained in:
parent
207b5f577a
commit
efe56f4557
@ -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
Normal file
3
src/Controller/Nex/Kevacoin.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
// @TODO
|
@ -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
|
||||
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…
x
Reference in New Issue
Block a user