interface FactoryInterface (View source)

Methods

Stats[]
getAvailableCoreStats()

Get stats about all the locally available translation files for the core.

getCoreStats(string $localeID)

Get core translations stats for a specific locale ID.

Stats[]
getAvailablePackageStats(Package $package)

Get stats about all the locally available translation files for a package.

getPackageStats(Package $package, string $localeID)

Get package translations stats for a specific locale ID.

clearCache()

Clear (eventually) cached data about local translation stats.

Details

Stats[] getAvailableCoreStats()

Get stats about all the locally available translation files for the core.

Return Value

Stats[]

keys are the locale IDs, values are the stats

Stats getCoreStats(string $localeID)

Get core translations stats for a specific locale ID.

Parameters

string $localeID

Return Value

Stats

Stats[] getAvailablePackageStats(Package $package)

Get stats about all the locally available translation files for a package.

Parameters

Package $package

Return Value

Stats[]

keys are the locale IDs, values are the stats

Stats getPackageStats(Package $package, string $localeID)

Get package translations stats for a specific locale ID.

Parameters

Package $package
string $localeID

Return Value

Stats

clearCache()

Clear (eventually) cached data about local translation stats.