mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-05 16:14:11 +01:00
refactor: [WIP] Use hexagonal architecture and implement interfaces for services and repositories.
Controllers are being splited into commands to better dependency management. Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -38,17 +38,16 @@ use SP\Core\Exceptions\SessionTimeout;
|
||||
use SP\Core\Exceptions\SPException;
|
||||
use SP\Core\Exceptions\ValidationException;
|
||||
use SP\DataModel\ClientData;
|
||||
use SP\Domain\Auth\Services\AuthException;
|
||||
use SP\Domain\Client\Services\ClientService;
|
||||
use SP\Html\DataGrid\DataGridInterface;
|
||||
use SP\Http\JsonResponse;
|
||||
use SP\Infrastructure\Common\Repositories\NoSuchItemException;
|
||||
use SP\Modules\Web\Controllers\Helpers\Grid\ClientGrid;
|
||||
use SP\Modules\Web\Controllers\Traits\JsonTrait;
|
||||
use SP\Modules\Web\Forms\ClientForm;
|
||||
use SP\Mvc\Controller\CrudControllerInterface;
|
||||
use SP\Mvc\Controller\ItemTrait;
|
||||
use SP\Repositories\NoSuchItemException;
|
||||
use SP\Services\Auth\AuthException;
|
||||
use SP\Services\Client\ClientService;
|
||||
use SP\Services\ServiceException;
|
||||
|
||||
/**
|
||||
* Class ClientController
|
||||
@@ -165,7 +164,7 @@ final class ClientController extends ControllerBase implements CrudControllerInt
|
||||
* @throws NotFoundException
|
||||
* @throws QueryException
|
||||
* @throws SPException
|
||||
* @throws ServiceException
|
||||
* @throws \SP\Domain\Common\Services\ServiceException
|
||||
*/
|
||||
protected function setViewData(?int $clientId = null): void
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user