refactor(arch): enforce gateway compliance and remove service-wrapping gateways

This commit is contained in:
2026-03-13 11:31:33 +01:00
parent 082fa4c9a5
commit 892da0048d
96 changed files with 1117 additions and 1060 deletions

View File

@@ -4,13 +4,14 @@ namespace MintyPHP\Service\Auth;
use MintyPHP\Repository\Auth\ApiTokenRepository;
use MintyPHP\Repository\Tenant\TenantRepository;
use MintyPHP\Service\Tenant\TenantScopeService;
class ApiTokenEndpointService
{
public function __construct(
private readonly ApiTokenRepository $apiTokenRepository,
private readonly TenantRepository $tenantRepository,
private readonly AuthScopeGateway $authScopeGateway
private readonly TenantScopeService $authScopeGateway
) {
}