Table of Contents
Methods
-
getDomainTranslations()
: array<string|int, mixed>
-
getLocaleDomains()
: array<string|int, mixed>
-
getLocales()
: array<string|int, mixed>
-
isSupported()
: bool
-
parseFile()
: array<string|int, mixed>
-
resolveDomainFile()
: string
-
getLocalePath()
: string
getDomainTranslations()
public
getDomainTranslations(string $locale, string $domain) : array<string|int, mixed>
Parameters
-
$locale
: string
-
-
$domain
: string
-
Return values
array<string|int, mixed>
getLocaleDomains()
public
getLocaleDomains(string $locale) : array<string|int, mixed>
Parameters
-
$locale
: string
-
Return values
array<string|int, mixed>
getLocales()
public
getLocales() : array<string|int, mixed>
Return values
array<string|int, mixed>
isSupported()
public
isSupported() : bool
parseFile()
public
parseFile(string $path) : array<string|int, mixed>
Parameters
-
$path
: string
-
Return values
array<string|int, mixed>
resolveDomainFile()
public
resolveDomainFile(string $domain) : string
Parameters
-
$domain
: string
-
getLocalePath()
protected
getLocalePath(string $locale) : string
Parameters
-
$locale
: string
-