mirror of
https://github.com/YGGverse/next.git
synced 2025-01-26 23:04:49 +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",
|
"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
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
|
// 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…
x
Reference in New Issue
Block a user