<?php
namespace App\Support;
final class KeywordTargetOptions{public const COUNTRIES=['TR'=>'Türkiye','DE'=>'Germany','US'=>'United States','GB'=>'United Kingdom'];public const LANGUAGES=['tr'=>'Türkçe','de'=>'Deutsch','en'=>'English'];public const COUNTRY_LANGUAGES=['TR'=>['tr','en'],'DE'=>['tr','de','en'],'US'=>['en'],'GB'=>['en']];public static function countries():array{return self::COUNTRIES;}public static function languages():array{return self::LANGUAGES;}public static function supports(string $country,string $language):bool{return in_array(strtolower($language),self::COUNTRY_LANGUAGES[strtoupper($country)]??[],true);}}
