You are here

public function MessageCatalogueInterface::get in Plug 7

Gets a message translation.

@api

Parameters

string $id The message id:

string $domain The domain name:

Return value

string The message translation

1 method overrides MessageCatalogueInterface::get()
MessageCatalogue::get in lib/Symfony/translation/MessageCatalogue.php
@api

File

lib/Symfony/translation/MessageCatalogueInterface.php, line 101

Class

MessageCatalogueInterface
MessageCatalogueInterface.

Namespace

Symfony\Component\Translation

Code

public function get($id, $domain = 'messages');