major update

This commit is contained in:
2026-03-04 15:56:58 +01:00
parent 16759a2732
commit 8f4dd5840d
478 changed files with 24313 additions and 8201 deletions

View File

@@ -10,10 +10,10 @@ use MintyPHP\Service\Tenant\TenantService;
class AddressBookDirectoryGateway
{
public function __construct(
private readonly ?TenantService $tenantService = null,
private readonly ?DepartmentService $departmentService = null,
private readonly ?RoleService $roleService = null,
private readonly ?DirectoryScopeGateway $scopeGateway = null
private readonly TenantService $tenantService,
private readonly DepartmentService $departmentService,
private readonly RoleService $roleService,
private readonly DirectoryScopeGateway $scopeGateway
) {
}
@@ -54,21 +54,21 @@ class AddressBookDirectoryGateway
private function tenantService(): TenantService
{
return $this->tenantService ?? new TenantService();
return $this->tenantService;
}
private function departmentService(): DepartmentService
{
return $this->departmentService ?? new DepartmentService();
return $this->departmentService;
}
private function roleService(): RoleService
{
return $this->roleService ?? new RoleService();
return $this->roleService;
}
private function scopeGateway(): DirectoryScopeGateway
{
return $this->scopeGateway ?? new DirectoryScopeGateway();
return $this->scopeGateway;
}
}