Orpheus

YamlTranslationProvider extends AbstractTranslationProvider
in package

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>

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
Return values
string

							
On this page

Search results