Repo Interface für tests
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace MintyPHP\Service\Access;
|
||||
|
||||
use MintyPHP\Repository\Access\PermissionRepository;
|
||||
use MintyPHP\Repository\Access\RolePermissionRepository;
|
||||
use MintyPHP\Repository\Access\UserRoleRepository;
|
||||
use MintyPHP\Repository\Access\PermissionRepositoryInterface;
|
||||
use MintyPHP\Repository\Access\RolePermissionRepositoryInterface;
|
||||
use MintyPHP\Repository\Access\UserRoleRepositoryInterface;
|
||||
use MintyPHP\Service\Audit\SystemAuditService;
|
||||
|
||||
class PermissionService
|
||||
@@ -12,9 +12,9 @@ class PermissionService
|
||||
private array $apiPermissionCache = [];
|
||||
|
||||
public function __construct(
|
||||
private readonly PermissionRepository $permissionRepository,
|
||||
private readonly RolePermissionRepository $rolePermissionRepository,
|
||||
private readonly UserRoleRepository $userRoleRepository,
|
||||
private readonly PermissionRepositoryInterface $permissionRepository,
|
||||
private readonly RolePermissionRepositoryInterface $rolePermissionRepository,
|
||||
private readonly UserRoleRepositoryInterface $userRoleRepository,
|
||||
private readonly SystemAuditService $systemAuditService
|
||||
) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user