mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
chore: Adapt to hexagonal architecture pattern.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -28,9 +28,9 @@ namespace SP\Modules\Api\Controllers\Client;
|
||||
use Klein\Klein;
|
||||
use SP\Core\Acl\Acl;
|
||||
use SP\Core\Application;
|
||||
use SP\Domain\Api\ApiServiceInterface;
|
||||
use SP\Domain\Client\ClientServiceInterface;
|
||||
use SP\Domain\Client\Out\ClientAdapterInterface;
|
||||
use SP\Domain\Api\Ports\ApiServiceInterface;
|
||||
use SP\Domain\Client\Ports\ClientAdapterInterface;
|
||||
use SP\Domain\Client\Ports\ClientServiceInterface;
|
||||
use SP\Modules\Api\Controllers\ControllerBase;
|
||||
use SP\Modules\Api\Controllers\Help\ClientHelp;
|
||||
|
||||
@@ -50,7 +50,7 @@ abstract class ClientBase extends ControllerBase
|
||||
Klein $router,
|
||||
ApiServiceInterface $apiService,
|
||||
Acl $acl,
|
||||
ClientServiceInterface $clientService,
|
||||
\SP\Domain\Client\Ports\ClientServiceInterface $clientService,
|
||||
ClientAdapterInterface $clientAdapter
|
||||
) {
|
||||
parent::__construct($application, $router, $apiService, $acl);
|
||||
@@ -61,4 +61,4 @@ abstract class ClientBase extends ControllerBase
|
||||
$this->apiService->setHelpClass(ClientHelp::class);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user