getExistingTaxProviders example

return;
        }

        $taxProviders = $tax->getTaxProviders();

        if (!$taxProviders) {
            return;
        }

        $upserts = [];

        $existingTaxProviders = $this->getExistingTaxProviders($appId$context);

        foreach ($taxProviders as $taxProvider) {
            $payload = $taxProvider->toArray($defaultLocale);
            $payload['priority'] = (int) $payload['priority'];
            $payload['identifier'] = \sprintf(
                'app\\%s_%s',
                $manifest->getMetadata()->getName(),
                $taxProvider->getIdentifier()
            );

            /** @var TaxProviderEntity|null $existing */
            
Home | Imprint | This part of the site doesn't use cookies.