apiAuditLogRepository ??= new ApiAuditLogRepository(); } public function createUserLifecycleAuditRepository(): UserLifecycleAuditRepositoryInterface { return $this->userLifecycleAuditRepository ??= new UserLifecycleAuditRepository(); } public function createSystemAuditLogRepository(): SystemAuditLogRepositoryInterface { return $this->systemAuditLogRepository ??= new SystemAuditLogRepository(); } }