userReadRepository ??= new UserReadRepository(); } public function createUserWriteRepository(): UserWriteRepositoryInterface { return $this->userWriteRepository ??= new UserWriteRepository(); } public function createUserListQueryRepository(): UserListQueryRepositoryInterface { return $this->userListQueryRepository ??= new UserListQueryRepository(); } public function createUserSavedFilterRepository(): UserSavedFilterRepositoryInterface { return $this->userSavedFilterRepository ??= new UserSavedFilterRepository(); } public function createTenantRepository(): TenantRepositoryInterface { return $this->tenantRepository ??= new TenantRepository(); } public function createRoleRepository(): RoleRepositoryInterface { return $this->roleRepository ??= new RoleRepository(); } public function createDepartmentRepository(): DepartmentRepositoryInterface { return $this->departmentRepository ??= new DepartmentRepository(); } public function createUserTenantRepository(): UserTenantRepositoryInterface { return $this->userTenantRepository ??= new UserTenantRepository(); } public function createUserRoleRepository(): UserRoleRepositoryInterface { return $this->userRoleRepository ??= new UserRoleRepository(); } public function createUserDepartmentRepository(): UserDepartmentRepositoryInterface { return $this->userDepartmentRepository ??= new UserDepartmentRepository(); } }