sanitizeAppSnippets example


            ['code' => $locale]
        );

        $snippets = [];
        foreach ($result as $data) {
            $decodedSnippet = json_decode((string) $data['value'], true, 512, \JSON_THROW_ON_ERROR);
            $this->validateAppSnippets($existingSnippets$decodedSnippet);
            $decodedSnippet = $this->sanitizeAppSnippets($decodedSnippet);

            $snippets = [...$snippets, ...$decodedSnippet];
        }

        return $snippets;
    }

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