MessageCatalogueInterface (Component\Translation)

Symfony\Component\Translation\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,