chore: Bootstrap refactoring

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-04-20 11:59:23 +02:00
parent 03e4a57562
commit 4e346d9f1a
99 changed files with 645 additions and 1015 deletions

View File

@@ -37,7 +37,7 @@ use SP\Domain\Api\Services\JsonRpcResponse;
use SP\Domain\Common\Services\ServiceException;
use SP\Domain\Config\Ports\ConfigDataInterface;
use SP\Domain\Core\Acl\AclInterface;
use SP\Domain\Core\Context\ContextInterface;
use SP\Domain\Core\Context\Context;
use SP\Domain\Core\Exceptions\SPException;
use SP\Http\JsonResponse;
@@ -50,8 +50,8 @@ abstract class ControllerBase
{
protected const SEARCH_COUNT_ITEMS = 25;
protected string $controllerName;
protected ContextInterface $context;
protected string $controllerName;
protected Context $context;
protected EventDispatcher $eventDispatcher;
protected ApiService $apiService;
protected Klein $router;