mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 16:36:59 +01:00
chore: Adapt to hexagonal architecture pattern.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -26,8 +26,8 @@ namespace SP\Modules\Web\Controllers\Client;
|
||||
|
||||
|
||||
use SP\Core\Application;
|
||||
use SP\Domain\Client\ClientServiceInterface;
|
||||
use SP\Domain\CustomField\CustomFieldServiceInterface;
|
||||
use SP\Domain\Client\Ports\ClientServiceInterface;
|
||||
use SP\Domain\CustomField\Ports\CustomFieldServiceInterface;
|
||||
use SP\Modules\Web\Controllers\ControllerBase;
|
||||
use SP\Modules\Web\Forms\ClientForm;
|
||||
use SP\Mvc\Controller\WebControllerHelper;
|
||||
@@ -37,9 +37,9 @@ use SP\Mvc\Controller\WebControllerHelper;
|
||||
*/
|
||||
abstract class ClientSaveBase extends ControllerBase
|
||||
{
|
||||
protected ClientServiceInterface $clientService;
|
||||
protected CustomFieldServiceInterface $customFieldService;
|
||||
protected ClientForm $form;
|
||||
protected \SP\Domain\Client\Ports\ClientServiceInterface $clientService;
|
||||
protected CustomFieldServiceInterface $customFieldService;
|
||||
protected ClientForm $form;
|
||||
|
||||
public function __construct(
|
||||
Application $application,
|
||||
@@ -55,4 +55,4 @@ abstract class ClientSaveBase extends ControllerBase
|
||||
$this->customFieldService = $customFieldService;
|
||||
$this->form = new ClientForm($application, $this->request);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user