AbstractTranslationProvider
in package
AbstractYes
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
Methods
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
abstract isSupported() : bool
Return values
boolparseFile()
public
abstract parseFile(string $path) : array<string|int, mixed>
Parameters
- $path : string
Return values
array<string|int, mixed>resolveDomainFile()
public
abstract resolveDomainFile(string $domain) : string
Parameters
- $domain : string
Return values
stringgetLocalePath()
protected
getLocalePath(string $locale) : string
Parameters
- $locale : string