app/Services/LocalizationService.php
public function alphabet(): array
    {
        $locale = $this->locale->languageTag();
        $script = $this->locale->script()->code();

        return self::ALPHABETS_FOR_LOCALE[$locale] ?? self::ALPHABETS_FOR_SCRIPT[$script] ?? self::LATIN_ALPHABET;
    }
public function alphabet(): array
    {
        $locale = $this->locale->languageTag();
        $script = $this->locale->script()->code();

        return self::ALPHABETS_FOR_LOCALE[$locale] ?? self::ALPHABETS_FOR_SCRIPT[$script] ?? self::LATIN_ALPHABET;
    }
public function alphabet ( ) : array { $ locale = $ this -> locale -> languageTag ( ) ; $ script = $ this -> locale -> script ( ) -> code ( ) ; return self :: ALPHABETS_FOR_LOCALE [ $ locale ] ?? self :: ALPHABETS_FOR_SCRIPT [ $ script ] ?? self :: LATIN_ALPHABET ; }
Which alphabet is used in a locale?

@return array
Which alphabet is used in a locale?