Repo Interface für tests
This commit is contained in:
16
lib/Repository/Org/UserDepartmentRepositoryInterface.php
Normal file
16
lib/Repository/Org/UserDepartmentRepositoryInterface.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace MintyPHP\Repository\Org;
|
||||
|
||||
interface UserDepartmentRepositoryInterface
|
||||
{
|
||||
public function listDepartmentIdsByUserId(int $userId): array;
|
||||
|
||||
public function replaceForUser(int $userId, array $departmentIds): bool;
|
||||
|
||||
public function removeInvalidForDepartment(int $departmentId): int;
|
||||
|
||||
public function countUsersByDepartmentIds(array $departmentIds): array;
|
||||
|
||||
public function countActiveUsersByDepartmentIds(array $departmentIds): array;
|
||||
}
|
||||
Reference in New Issue
Block a user