Private
Public Access
1
0

chg: pkg: make a massive refactor to the backend and remove all unnecessary deps - and make small refactors for the frontend too #4

This commit is contained in:
2026-04-09 20:21:01 +02:00
parent 23547f4237
commit b55c223d8a
55 changed files with 1567 additions and 4398 deletions

View File

@@ -0,0 +1,28 @@
<?php declare(strict_types=1);
/**
* This file is part of the SplendidBear Websites' projects.
*
* Copyright (c) 2019 @ www.splendidbear.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Interfaces;
/**
* Interface RpcManagerInterface
*
* @package App\Interfaces
* @author Lang <https://www.splendidbear.org>
* @category Interface
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License
* @link www.splendidbear.org
* @since 2026. 04. 09.
*/
interface RpcManagerInterface
{
public function getConnectInformation($params): string;
public function saveGrid($data): bool;
}

View File

@@ -0,0 +1,33 @@
<?php declare(strict_types=1);
/**
* This file is part of the SplendidBear Websites' projects.
*
* Copyright (c) 2019 @ www.splendidbear.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Interfaces;
use Ratchet\ConnectionInterface;
use Ratchet\Wamp\Topic;
/**
* Interface TopicManagerInterface
*
* @package App\Interfaces
* @author Lang <https://www.splendidbear.org>
* @category Interface
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License
* @link www.splendidbear.org
* @since 2026. 04. 09.
*/
interface TopicManagerInterface
{
public function subscribe(Topic $topic, ConnectionInterface $connection): void;
public function unSubscribe(Topic $topic, ConnectionInterface $connection): void;
public function publish(Topic $topic, ConnectionInterface $connection, $event): void;
}

View File

@@ -0,0 +1,28 @@
<?php declare(strict_types=1);
/**
* This file is part of the SplendidBear Websites' projects.
*
* Copyright (c) 2019 @ www.splendidbear.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Interfaces;
use Doctrine\ORM\EntityManagerInterface;
/**
* Interface WebsocketManagerInterface
*
* @package App\Interfaces
* @author Lang <https://www.splendidbear.org>
* @category Interface
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License
* @link www.splendidbear.org
* @since 2026. 04. 09.
*/
interface WebsocketManagerInterface
{
public function reConnect(EntityManagerInterface $entityManager): ?EntityManagerInterface;
}