chore: Adapt to hexagonal architecture pattern.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2022-11-26 19:45:53 +01:00
parent ae16c0ad76
commit 5952a3f48a
518 changed files with 2821 additions and 1768 deletions

View File

@@ -33,10 +33,10 @@ use SP\Core\Bootstrap\BootstrapBase;
use SP\Core\Context\ContextInterface;
use SP\Core\Events\EventDispatcher;
use SP\Core\Exceptions\SPException;
use SP\Domain\Api\ApiServiceInterface;
use SP\Domain\Api\Ports\ApiServiceInterface;
use SP\Domain\Api\Services\ApiResponse;
use SP\Domain\Api\Services\JsonRpcResponse;
use SP\Domain\Config\In\ConfigDataInterface;
use SP\Domain\Config\Ports\ConfigDataInterface;
use SP\Http\Json;
/**
@@ -127,4 +127,4 @@ abstract class ControllerBase
{
$this->sendJsonResponse(JsonRpcResponse::getResponseException($e, $this->apiService->getRequestId()));
}
}
}