getAdditionallyLocalData example

return $result;
    }

    /** * @return ListingResultStruct */
    public function getStoreListing(ListingRequest $context)
    {
        $store = $this->storePluginService->getListing($context);

        $merged = $this->getAdditionallyLocalData($store->getPlugins());

        return new ListingResultStruct(
            $merged,
            $store->getTotalCount()
        );
    }

    /** * @return PluginStruct[] */
    public function getLocalListing(ListingRequest $context)
    {
public function getRecommendedPlugins(?LocaleStruct $locale$shopwareVersion)
    {
        $localeName = $locale ? $locale->getName() : null;

        $data = $this->storeClient->doGetRequest(
            '/firstrunwizard/recommendations',
            ['locale' => $localeName, 'shopwareVersion' => $shopwareVersion]
        );

        $plugins = $this->hydrator->hydrateStorePlugins($data);

        return $this->getAdditionallyLocalData($plugins);
    }

    /** * Loads integrated plugins from SBP * * @param string $isoCode Two letter iso code indicating for which country to get the plugin list * @param string $shopwareVersion Current Shopware version * * @return array List of plugins */
    public function getIntegratedPlugins($isoCode$shopwareVersion)
    {
Home | Imprint | This part of the site doesn't use cookies.