LanguageNormalizer implements INormalizer
Normalize due to language specialties Class LanguageNormalizer
Table of Contents
Interfaces
- INormalizer
- Interface for location names normalizers Interface INormalizer
Methods
- __construct() : mixed
- LanguageNormalizer constructor.
- normalize() : string
- setLangData() : mixed
Methods
__construct()
LanguageNormalizer constructor.
public
__construct([string $lang = LANGUAGE_ID ][, array<string|int, mixed> $langData = [] ]) : mixed
Parameters
- $lang : string = LANGUAGE_ID
-
Language id.
- $langData : array<string|int, mixed> = []
-
Language specific data.
normalize()
public
normalize(mixed $string) : string
Parameters
- $string : mixed
Tags
Return values
stringsetLangData()
public
setLangData(array<string|int, mixed> $langData) : mixed
Parameters
- $langData : array<string|int, mixed>
-
Language data.