Proje dosyaları eklendi

This commit is contained in:
2026-08-29 15:53:53 +03:00
commit d3313400ca
440 changed files with 24827 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
<?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);}}