public function __construct( private readonly FirstRunWizardService
$frwService,
private readonly EntityRepository
$pluginRepo,
private readonly EntityRepository
$appRepo,
) { } #[Route(path: '/api/_action/store/frw/start', name: 'api.custom.store.frw.start', methods: ['POST'])]
public function frwStart(Context
$context): JsonResponse
{ try { $this->frwService->
startFrw($context);
} catch (ClientException
$exception) { throw new StoreApiException($exception);
} return new JsonResponse();
} #[Route(path: '/api/_action/store/language-plugins', name: 'api.custom.store.language-plugins', methods: ['GET'])]
public function getLanguagePluginList(Context
$context): JsonResponse
{ /** @var PluginCollection $plugins */