softDeleteRole example

$this->systemConfigService->deleteExtensionConfiguration($app->getName()$config);
                }
            }

            $this->appRepository->delete([['id' => $app->getId()]]$context);

            if ($softDelete) {
                $this->integrationRepository->update([[
                    'id' => $app->getIntegrationId(),
                    'deletedAt' => new \DateTimeImmutable(),
                ]]$context);
                $this->permissionPersister->softDeleteRole($app->getAclRoleId());
            } else {
                $this->integrationRepository->delete([['id' => $app->getIntegrationId()]]$context);
                $this->permissionPersister->removeRole($app->getAclRoleId());
            }

            $this->deleteAclRole($app->getName()$context);
        });
    }

    /** * @param array<string, mixed> $metadata */
Home | Imprint | This part of the site doesn't use cookies.