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:
Rubén D
2022-06-06 08:17:34 +02:00
parent a6e34f7b25
commit 1c8fb0ea1a
629 changed files with 18541 additions and 9626 deletions

View File

@@ -31,7 +31,8 @@ use SP\Core\Exceptions\ConstraintException;
use SP\Core\Exceptions\QueryException;
use SP\DataModel\EventlogData;
use SP\DataModel\ItemSearchData;
use SP\Repositories\EventLog\EventlogRepository;
use SP\Domain\Security\In\EventlogRepositoryInterface;
use SP\Infrastructure\Security\Repositories\EventlogRepository;
use SP\Tests\DatabaseTestCase;
use stdClass;
use function SP\Tests\setupContext;
@@ -46,7 +47,7 @@ use function SP\Tests\setupContext;
class EventlogRepositoryTest extends DatabaseTestCase
{
/**
* @var EventlogRepository
* @var EventlogRepositoryInterface
*/
private static $repository;