class MessageCatalogue implements MessageCatalogueInterface, MetadataAwareInterface
MessageCatalogue.
Methods
__construct(string $locale, array $messages = array()) Constructor.
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 =