DictionaryInterface extends Repository
Locale Dictionary.
Used to return all "Key => translation" data matrix
Extend the Config repository to have acess to all the standard has
, get
,
etc. public methods on the dictionnay array
Tags
Table of Contents
getDictionary() | Returns all loaded locale Key => Translation data dictionary. | (string|array)[] |
---|---|---|
getLocale() | Return the associate locale. | LocaleInterface |
getFlattenDictionary() | Return the dictionnary as a flatten array, using dot notation. | string[] |
Methods
getDictionary()
Returns all loaded locale Key => Translation data dictionary.
public
getDictionary(
)
: (string|array)[]
Return values
(string|array)[] —The locale dictionary
getLocale()
Return the associate locale.
public
getLocale(
)
: LocaleInterface
Return values
LocaleInterfacegetFlattenDictionary()
Return the dictionnary as a flatten array, using dot notation.
public
getFlattenDictionary(
)
: string[]