interface Reader (View source)

Message reader. Inverse of Writer

Methods

public
array
read(string $locale, string $path)

Get messages from this locale

Details

array read(string $locale, string $path)

Get messages from this locale

Parameters

string $locale
string $path

Filename (or other identifier)

Return Value

array

messages Flat array of localisation keys to values.