public function infoShopwareVersion(): JsonResponse
{ return new JsonResponse([ 'version' =>
$this->params->
get('kernel.shopware_version'
),
]);
} #[Route(path: '/api/_info/flow-actions.json', name: 'api.info.actions', methods: ['GET'])]
public function flowActions(Context
$context): JsonResponse
{ if (!
$this->flowActionCollector
) { return $this->
json([]);
} $events =
$this->flowActionCollector->
collect($context);
return new JsonResponse($events);
} /**
* @return array<string, array{type: 'plugin', css: string[], js: string[], baseUrl: ?string }|array{type: 'app', name: string, active: bool, integrationId: string, baseUrl: string, version: string, permissions: array<string, string[]>}>
*/
private function getBundles(): array
{