mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +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:
@@ -24,10 +24,10 @@
|
||||
|
||||
namespace SP\Core;
|
||||
|
||||
use SP\Config\Config;
|
||||
use SP\Config\ConfigDataInterface;
|
||||
use SP\Core\Context\ContextInterface;
|
||||
use SP\Core\Events\EventDispatcher;
|
||||
use SP\Domain\Config\In\ConfigDataInterface;
|
||||
use SP\Domain\Config\Services\ConfigFileService;
|
||||
|
||||
/**
|
||||
* Class ModuleBase
|
||||
@@ -36,7 +36,7 @@ use SP\Core\Events\EventDispatcher;
|
||||
*/
|
||||
abstract class ModuleBase
|
||||
{
|
||||
protected Config $config;
|
||||
protected ConfigFileService $config;
|
||||
protected ConfigDataInterface $configData;
|
||||
protected ContextInterface $context;
|
||||
private EventDispatcher $eventDispatcher;
|
||||
|
||||
Reference in New Issue
Block a user