MessageCatalogueInterface

MessageCatalogueInterface

interface MessageCatalogueInterface

MessageCatalogueInterface.

Methods

string getLocale()

Gets the catalogue locale.

array getDomains()

Gets the domains.

array all(string $domain = null)

Gets the messages within a given domain.

set(string $id, string $translation, string $domain = 'messages')

Sets a message translation.

bool has(string $id, string $domain = 'messages')

Checks if a message has a translation.

bool defi